From 816fcebe8f41051b29970e5baed4d4afe462d8a8 Mon Sep 17 00:00:00 2001 From: Anand Jain Date: Mon, 27 Apr 2015 12:46:18 +0800 Subject: [PATCH] Btrfs: log when missing device is created Signed-off-by: Anand Jain Reviewed-by: David Sterba Signed-off-by: Chris Mason --- fs/btrfs/volumes.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.30.2