diff options
author | Omar Sandoval <osandov@fb.com> | 2023-10-16 20:43:42 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-10-19 18:34:33 +0300 |
commit | 1b5d63963f9820b1c14883ee56b387586ff72aa0 (patch) | |
tree | c674110e06c25bfe705335d0a54a5cd9a20ceed4 /fs/xfs/xfs_refcount_item.h | |
parent | e23aaf450de733044a74bc95528f728478b61c2a (diff) | |
download | linux-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