aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-07-07 12:53:16 +0000
committerCarlos Maiolino <[email protected]>2025-07-08 11:30:26 +0000
commit988a16827582dfb9256d22f74cb363f41f090c90 (patch)
tree18648e68b733956a4c13bc041c70376ecd6fbcca /fs/xfs/xfs_buf.c
parentxfs: refactor xfs_calc_atomic_write_unit_max (diff)
downloadkernel-988a16827582dfb9256d22f74cb363f41f090c90.tar.gz
kernel-988a16827582dfb9256d22f74cb363f41f090c90.zip
xfs: rename the bt_bdev_* buftarg fields
The extra bdev_ is weird, so drop it. Also improve the comment to make it clear these are the hardware limits. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: John Garry <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_buf.c')
-rw-r--r--fs/xfs/xfs_buf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
index 558568f78514..edae4733a72f 100644
--- a/fs/xfs/xfs_buf.c
+++ b/fs/xfs/xfs_buf.c
@@ -1712,8 +1712,8 @@ xfs_configure_buftarg_atomic_writes(
max_bytes = 0;
}
- btp->bt_bdev_awu_min = min_bytes;
- btp->bt_bdev_awu_max = max_bytes;
+ btp->bt_awu_min = min_bytes;
+ btp->bt_awu_max = max_bytes;
}
/* Configure a buffer target that abstracts a block device. */