diff mbox series

fixup: btrfs: introduce RAID1 round-robin read balancing

Message ID b3dcf390f23f57c261fdda1ed6cc6d0bd83d7891.1735835856.git.anand.jain@oracle.com (mailing list archive)
State New
Headers show
Series fixup: btrfs: introduce RAID1 round-robin read balancing | expand

Commit Message

Anand Jain Jan. 2, 2025, 4:39 p.m. UTC
For now, let's keep the more typical storage device cache size at 256 KB,
which can be updated once we have more widespread tests.

This patch should be merged with in the ML.
   btrfs: introduce RAID1 round-robin read balancing

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 fs/btrfs/volumes.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 18521aebc484..48b38315672e 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -296,8 +296,7 @@  enum btrfs_chunk_allocation_policy {
 	BTRFS_CHUNK_ALLOC_ZONED,
 };
 
-/* SZ_192K = 192 * 1024 = 196608 */
-#define BTRFS_DEFAULT_RR_MIN_CONTIGUOUS_READ	(196608)
+#define BTRFS_DEFAULT_RR_MIN_CONTIGUOUS_READ	(SZ_256K)
 #define BTRFS_RAID1_MAX_MIRRORS			(4)
 /*
  * Read policies for mirrored block group profiles, read picks the stripe based