]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: Refactoring the nagcount and delta calculation
authorNirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Wed, 11 Feb 2026 13:55:13 +0000 (19:25 +0530)
committerCarlos Maiolino <cem@kernel.org>
Wed, 25 Feb 2026 12:58:48 +0000 (13:58 +0100)
commita49b7ff63f98ba1c4503869c568c99ecffa478f2
tree72685d47d084f7c7cfb621b85e32930864ae1892
parent18c16f602a67782f5eb4b5ab9ba73350b9f711ec
xfs: Refactoring the nagcount and delta calculation

Introduce xfs_growfs_compute_delta() to calculate the nagcount
and delta blocks and refactor the code from xfs_growfs_data_private().
No functional changes.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/libxfs/xfs_ag.c
fs/xfs/libxfs/xfs_ag.h
fs/xfs/xfs_fsops.c