Re: [PATCH v3 0/4] btrf_show_devname related fixes
flat view
From: Anand Jain <hidden>
Date: 2021-08-20 11:33:59
Please consider patches 1/4 and 3/4 as RFC. The reason for the RFC is in the individual patches. Thanks. On 20/08/2021 19:28, 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
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 sprout
fs/btrfs/disk-io.c | 6 +++---
fs/btrfs/extent_io.c | 2 +-
fs/btrfs/inode.c | 2 +-
fs/btrfs/procfs.c | 6 +++---
fs/btrfs/super.c | 26 ++++----------------------
fs/btrfs/volumes.c | 19 +++++++++++--------
fs/btrfs/volumes.h | 2 +-
7 files changed, 24 insertions(+), 39 deletions(-)