diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-07-14 11:16:17 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-14 14:17:27 -0700 |
commit | 21a7ebc29db770dc8446a10d5ac93b5253bccc4d (patch) | |
tree | 1902ffd93134466ff633e65ab0a186eab37a5d89 /block/blk-cgroup.c | |
parent | 83e52ec0caf61182e6a89bcad12f69a96e17c062 (diff) |
xfs: support realtime reflink with an extent size that isn't a power of 2realtime-reflink-extsize_2022-10-14
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 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions