xfs: separate out setting buftarg atomic writes limits
authorDarrick J. Wong <djwong@kernel.org>
Wed, 7 May 2025 21:18:24 +0000 (14:18 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 7 May 2025 21:25:30 +0000 (14:25 -0700)
commit13c7c54bd0fa0a7937ce394e8c416c6a70e0a6ed
treefb6feb255f57ae38a4f58dd0d01e7629a0317d04
parent5af9f5508477f088320fdce6c0fd69f960aee319
xfs: separate out setting buftarg atomic writes limits

Separate out setting buftarg atomic writes limits into a dedicated
function, xfs_configure_buftarg_atomic_writes(), to keep the specific
functionality self-contained.

For naming consistency, rename xfs_setsize_buftarg() ->
xfs_configure_buftarg().

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
[jpg: separate out from patch "xfs: ignore HW which ..."]
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_super.c