Skip to content
Commit 98cc2db5 authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

xfs: unshare a range of blocks via fallocate



Unshare all shared extents if the user calls fallocate with the new
unshare mode flag set, so that we can guarantee that a subsequent
write will not ENOSPC.

Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
[hch: pass inode instead of file to xfs_reflink_dirty_range,
      use iomap infrastructure for copy up]
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent f0bc4d13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment