diff options
author | Anand Jain <Anand.Jain@oracle.com> | 2015-04-27 12:46:18 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-06-02 19:34:34 -0700 |
commit | 816fcebe8f41051b29970e5baed4d4afe462d8a8 (patch) | |
tree | 6f4bc2819dca2fda0cede20495700953232e2868 /fs/btrfs/volumes.c | |
parent | 6d13f5497f9c44597ba566f741f7ce66ed099456 (diff) |
Btrfs: log when missing device is created
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |