diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-12-15 10:03:29 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-12-15 10:03:29 -0800 |
commit | e069d549705e49841247acf9b3176744e27d5425 (patch) | |
tree | 6e817d7ada375e76eb98e27bd45d797c5e2a72d5 /fs/xfs/scrub/bitmap.h | |
parent | 6dfeb0c2ecde71d61af77f65eabbdd6ca9315161 (diff) |
xfs: constrain dirty buffers while formatting a staged btree
Constrain the number of dirty buffers that are locked by the btree
staging code at any given time by establishing a threshold at which we
put them all on the delwri queue and push them to disk. This limits
memory consumption while writing out new btrees.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/scrub/bitmap.h')
0 files changed, 0 insertions, 0 deletions