summaryrefslogtreecommitdiff
path: root/lib/test_parman.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-16 12:19:00 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-14 09:19:32 -0700
commit510a28e195cd7260ccd089109d61ae3b9938a21e (patch)
tree855fb646ec5b08117bfc3f66cef1e881530f5872 /lib/test_parman.c
parentae127f087dc22b6e37edc870079abf0721a6aed0 (diff)
downloadlinux-510a28e195cd7260ccd089109d61ae3b9938a21e.tar.gz
linux-510a28e195cd7260ccd089109d61ae3b9938a21e.tar.bz2
linux-510a28e195cd7260ccd089109d61ae3b9938a21e.zip
xfs: don't allocate scrub contexts on the stack
Convert the on-stack scrub context, btree scrub context, and da btree scrub context into a heap allocation so that we reduce stack usage and gain the ability to handle tall btrees without issue. Specifically, this saves us ~208 bytes for the dabtree scrub, ~464 bytes for the btree scrub, and ~200 bytes for the main scrub context. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Chandan Babu R <chandan.babu@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/test_parman.c')
0 files changed, 0 insertions, 0 deletions