diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-01-22 16:48:34 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-02-03 09:18:49 -0800 |
commit | a636b1d1cf73804e385990c975e33cf06c032b64 (patch) | |
tree | 87efb6456611ce9a1282f06d35ad1886a789ba66 /fs/statfs.c | |
parent | 2a4bdfa8558ca2904dc17b83497dc82aa7fc05e9 (diff) | |
download | linux-stable-a636b1d1cf73804e385990c975e33cf06c032b64.tar.gz linux-stable-a636b1d1cf73804e385990c975e33cf06c032b64.tar.bz2 linux-stable-a636b1d1cf73804e385990c975e33cf06c032b64.zip |
xfs: trigger all block gc scans when low on quota space
The functions to run an eof/cowblocks scan to try to reduce quota usage
are kind of a mess -- the logic repeatedly initializes an eofb structure
and there are logic bugs in the code that result in the cowblocks scan
never actually happening.
Replace all three functions with a single function that fills out an
eofb and runs both eof and cowblocks scans.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/statfs.c')
0 files changed, 0 insertions, 0 deletions