Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 674f0d0d authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

xfs: only allocate free space bitmap for xattr scrub if needed


The free space bitmap is only required if we're going to check the
bestfree space at the end of an xattr leaf block.  Therefore, we can
reduce the memory requirements of this scrubber if we can determine that
the xattr is in short format.

Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
parent 6cee51e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment