summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_format.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 10:59:02 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:40:45 -0700
commitf64eb5249981b42bcb5304427531c24c000c9fe6 (patch)
tree3fc4bdbd8f387cd1fd64c9604ce3ceaa4f9caa50 /fs/xfs/libxfs/xfs_format.h
parentbd7fa0e8c47bcda25664e1b2572d33a8d61d29c3 (diff)
xfs: support non-power-of-two rtextsize with exchange-range
The VFS exchange-range alignment checks use (fast) bitmasks to perform block alignment checks on the exchange parameters. Unfortunately, bitmasks require that the alignment size be a power of two. This isn't true for realtime devices, so we have to copy-pasta the VFS checks using long division for this to work properly. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_format.h')
0 files changed, 0 insertions, 0 deletions