summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-07-14 11:16:17 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-11-09 19:08:14 -0800
commit55e5e9fb6263f16f2a10d48dfea4403fbbbd65a7 (patch)
tree385d1c5cf31dcdaf408dbde2904a7d039412e8f4 /include/crypto
parentf8f4c5a32618472cbc740e4c5b21efa3027a60b0 (diff)
xfs: support realtime reflink with an extent size that isn't a power of 2realtime-reflink-extsize_2022-11-09
Add the necessary alignment checking code to the reflink remap code to ensure that remap requests are aligned to rt extent boundaries if the realtime extent size isn't a power of two. The VFS helpers assume that they can use the usual (blocksize - 1) masking to avoid slow 64-bit division, but since XFS is special we won't make everyone pay that cost for our weird edge case. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions