mbox series

[0/2] btrfs: migrate tracking read blocks from fs_devices to

Message ID cover.1736369474.git.anand.jain@oracle.com (mailing list archive)
Headers show
Series btrfs: migrate tracking read blocks from fs_devices to | expand

Message

Anand Jain Jan. 8, 2025, 9:01 p.m. UTC
David reported btrfs/161 failing during sprouted filesystem unmount.
Bisected to commit 49136a74162e ("btrfs: add tracking of read blocks
for read policy"). Now, tracking is moved from `fs_devices` to `fs_info`.

Tested to be working fine.

-----
FSTYP         -- btrfs
PLATFORM      -- Linux/aarch64 local 6.13.0-rc6+ #45 SMP PREEMPT_DYNAMIC Thu Jan  9 04:04:07 +08 2025
MKFS_OPTIONS  -- /dev/sdb
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/sdb /mnt/scratch

btrfs/161 0s ...  0s
Ran: btrfs/161
Passed all 1 tests
------

Patches should be folded into their respective commits. Thx.

Anand Jain (2):
  fixup: btrfs: add tracking of read blocks for read policy
  fixup: btrfs: introduce RAID1 round-robin read balancing

 fs/btrfs/bio.c     |  2 +-
 fs/btrfs/disk-io.c |  5 +++++
 fs/btrfs/fs.h      |  3 +++
 fs/btrfs/volumes.c | 17 ++++++-----------
 fs/btrfs/volumes.h |  3 ---
 5 files changed, 15 insertions(+), 15 deletions(-)

Comments

David Sterba Jan. 9, 2025, 10:17 a.m. UTC | #1
On Thu, Jan 09, 2025 at 05:01:34AM +0800, Anand Jain wrote:
> David reported btrfs/161 failing during sprouted filesystem unmount.
> Bisected to commit 49136a74162e ("btrfs: add tracking of read blocks
> for read policy"). Now, tracking is moved from `fs_devices` to `fs_info`.
> 
> Tested to be working fine.

Thanks, updated in for-next.