Skip to content

btrfs: migrate tracking read blocks from fs_devices to

Anand Jain linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fixup: btrfs: add tracking of read blocks for read policyfs/btrfs/bio.c fs/btrfs/disk-io.c fs/btrfs/fs.h +2 more+9 -100 replies
2/2fixup: btrfs: introduce RAID1 round-robin read balancingfs/btrfs/volumes.c+6 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.47.0