diff options
author | Anand Jain <anand.jain@oracle.com> | 2018-01-22 23:49:36 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-26 15:09:36 +0200 |
commit | f8e10cd3f8dd3b15ea49f820a0d2decf3c654b13 (patch) | |
tree | c81c02d063c231d74f167b994504ba7e0b331389 /net | |
parent | Btrfs: do not check inode's runtime flags under root->orphan_lock (diff) | |
download | linux-f8e10cd3f8dd3b15ea49f820a0d2decf3c654b13.tar.xz linux-f8e10cd3f8dd3b15ea49f820a0d2decf3c654b13.zip |
btrfs: keep device list sorted
By maintaining the device list sorted lets us reproduce the problems
related to missing chunk in the degraded mode much more consistent. So
fix this by sorting the devices by devid within the kernel. So that we
know which device is assigned to the struct fs_info::latest_bdev when
all the devices are having and same SB generation.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions