diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 10:59:02 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-10-22 16:40:45 -0700 |
commit | f64eb5249981b42bcb5304427531c24c000c9fe6 (patch) | |
tree | 3fc4bdbd8f387cd1fd64c9604ce3ceaa4f9caa50 /fs/xfs/libxfs/xfs_format.h | |
parent | bd7fa0e8c47bcda25664e1b2572d33a8d61d29c3 (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