summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-01-23 01:48:39 +0100
committerDarrick J. Wong <djwong@kernel.org>2021-02-03 18:18:49 +0100
commita1a7d05a05765eec042942a5c360e909c0dd0131 (patch)
tree373b32e9a62675fab730b9ae0dbf76021668226b /fs/xfs/xfs_super.h
parentxfs: refactor xfs_icache_free_{eof,cow}blocks call sites (diff)
downloadlinux-a1a7d05a05765eec042942a5c360e909c0dd0131.tar.xz
linux-a1a7d05a05765eec042942a5c360e909c0dd0131.zip
xfs: flush speculative space allocations when we run out of space
If a fs modification (creation, file write, reflink, etc.) is unable to reserve enough space to handle the modification, try clearing whatever space the filesystem might have been hanging onto in the hopes of speeding up the filesystem. The flushing behavior will become particularly important when we add deferred inode inactivation because that will increase the amount of space that isn't actively tied to user data. 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/xfs/xfs_super.h')
0 files changed, 0 insertions, 0 deletions