diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-10-16 18:40:11 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-10-18 01:26:25 +0200 |
commit | ef5a83b7e597038d1c734ddb4bc00638082c2bf1 (patch) | |
tree | 9b5aa12266f11b3748c81079e004f6d5ecfc4640 /io_uring/kbuf.h | |
parent | xfs: create rt extent rounding helpers for realtime extent blocks (diff) | |
download | linux-ef5a83b7e597038d1c734ddb4bc00638082c2bf1.tar.xz linux-ef5a83b7e597038d1c734ddb4bc00638082c2bf1.zip |
xfs: use shifting and masking when converting rt extents, if possible
Avoid the costs of integer division (32-bit and 64-bit) if the realtime
extent size is a power of two.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'io_uring/kbuf.h')
0 files changed, 0 insertions, 0 deletions