summaryrefslogtreecommitdiff
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-06-29 14:47:19 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-07-06 10:46:57 -0700
commitaa5d0ba0b5dbb5105276214c7f9124855b20f75e (patch)
treee445d2cc344d8f4d0526d5cf229fc23cd9c035c0 /fs/io-wq.c
parent00fd1d56dd08a8ceaa9e4ee1a41fefd9f6c6bc7d (diff)
downloadlinux-aa5d0ba0b5dbb5105276214c7f9124855b20f75e.tar.gz
linux-aa5d0ba0b5dbb5105276214c7f9124855b20f75e.tar.bz2
linux-aa5d0ba0b5dbb5105276214c7f9124855b20f75e.zip
xfs: only reserve quota blocks for bmbt changes if we're changing the data fork
Now that we've reworked xfs_reflink_remap_extent to remap only one extent per transaction, we actually know if the extent being removed is an allocated mapping. This means that we now know ahead of time if we're going to be touching the data fork. Since we only need blocks for a bmbt split if we're going to update the data fork, we only need to get quota reservation if we know we're going to touch the data fork. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions