From: Anand Jain Date: Mon, 27 Apr 2015 04:46:18 +0000 (+0800) Subject: Btrfs: log when missing device is created X-Git-Tag: firefly_0821_release~176^2~1298^2~83 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=816fcebe8f41051b29970e5baed4d4afe462d8a8;p=firefly-linux-kernel-4.4.55.git Btrfs: log when missing device is created Signed-off-by: Anand Jain Reviewed-by: David Sterba Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 1fcbd93ca0ec..38d3a0f3bcdd 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -6109,6 +6109,8 @@ static int read_one_chunk(struct btrfs_root *root, struct btrfs_key *key, free_extent_map(em); return -EIO; } + btrfs_warn(root->fs_info, "devid %llu uuid %pU is missing", + devid, uuid); } map->stripes[i].dev->in_fs_metadata = 1; }