diff options
author | Christoph Hellwig <hch@lst.de> | 2017-03-08 01:45:58 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-03-08 01:45:58 +0100 |
commit | 3802a345321a08093ba2ddb1849e736f84e8d450 (patch) | |
tree | ea04908a2d01c0e982b2b9490d118cad7459f107 /lib/memory-notifier-error-inject.c | |
parent | iomap: invalidate page caches should be after iomap_dio_complete() in direct ... (diff) | |
download | linux-3802a345321a08093ba2ddb1849e736f84e8d450.tar.xz linux-3802a345321a08093ba2ddb1849e736f84e8d450.zip |
xfs: only reclaim unwritten COW extents periodically
We only want to reclaim preallocations from our periodic work item.
Currently this is archived by looking for a dirty inode, but that check
is rather fragile. Instead add a flag to xfs_reflink_cancel_cow_* so
that the caller can ask for just cancelling unwritten extents in the COW
fork.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[darrick: fix typos in commit message]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions