commit | ef5a83b7e597038d1c734ddb4bc00638082c2bf1 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Mon Oct 16 09:40:11 2023 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Tue Oct 17 16:26:25 2023 -0700 |
tree | 9b5aa12266f11b3748c81079e004f6d5ecfc4640 | |
parent | 5f57f7309d9ab9d24d50c5707472b1ed8af4eabc [diff] |
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>