Re: [PATCH v4 0/4] btrf_show_devname related fixes
From: David Sterba <hidden>
Date: 2021-08-23 19:49:20
On Mon, Aug 23, 2021 at 07:31:38PM +0800, Anand Jain wrote:
These fixes are inspired by the bug report and its discussions in the
mailing list subject
btrfs: traverse seed devices if fs_devices::devices is empty in show_devname
And depends on the patch
[PATCH v2] btrfs: fix lockdep warning while mounting sprout fs
in the ML
v4:
Fix unrelated changes in 2/4
v3:
Fix rcu_lock in the patch 3/4
Anand Jain (4):
btrfs: consolidate device_list_mutex in prepare_sprout to its parent
btrfs: save latest btrfs_device instead of its block_device in
fs_devices
btrfs: use latest_dev in btrfs_show_devname
btrfs: update latest_dev when we sproutPatchset survived one round of fstests and I haven't seen the lockdep warning in btrfs/020 that's caused by some unrelated work in loop device driver. There's a series from Josef to fix it by shuffling locking, so it would be interesting to see where's the difference.