Skip to content
Commit ef5a83b7 authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

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: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent 5f57f730
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment