summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_refcount_item.h
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2023-10-16 20:43:42 +0300
committerDarrick J. Wong <djwong@kernel.org>2023-10-19 18:34:33 +0300
commit1b5d63963f9820b1c14883ee56b387586ff72aa0 (patch)
treec674110e06c25bfe705335d0a54a5cd9a20ceed4 /fs/xfs/xfs_refcount_item.h
parente23aaf450de733044a74bc95528f728478b61c2a (diff)
downloadlinux-1b5d63963f9820b1c14883ee56b387586ff72aa0.tar.xz
xfs: return maximum free size from xfs_rtany_summary()
Instead of only returning whether there is any free space, return the maximum size, which is fast thanks to the previous commit. This will be used by two upcoming optimizations. Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_refcount_item.h')
0 files changed, 0 insertions, 0 deletions