summaryrefslogtreecommitdiffstats
path: root/fs/iomap.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-01-19 18:05:48 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2018-01-29 16:27:23 +0100
commit4b4c1326fd7c7210d23d9dd3bfc51f2b6477bb9e (patch)
tree25286ee2cc716f8344d23a1422b324a022cb8cab /fs/iomap.c
parentxfs: only grab shared inode locks for source file during reflink (diff)
downloadlinux-4b4c1326fd7c7210d23d9dd3bfc51f2b6477bb9e.tar.xz
linux-4b4c1326fd7c7210d23d9dd3bfc51f2b6477bb9e.zip
xfs: treat CoW fork operations as delalloc for quota accounting
Since the CoW fork only exists in memory, it is incorrect to update the on-disk quota block counts when we modify the CoW fork. Unlike the data fork, even real extents in the CoW fork are only delalloc-style reservations (on-disk they're owned by the refcountbt) so they must not be tracked in the on disk quota info. Ensure the i_delayed_blks accounting reflects this too. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/iomap.c')
0 files changed, 0 insertions, 0 deletions