summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_refcount.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-08-17 16:08:34 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-11-09 19:07:55 -0800
commita655e57681073a3f63c39d42b2206657ad11f34e (patch)
tree4e80a7ebb297930a030a48906352089b86082ec3 /fs/xfs/libxfs/xfs_refcount.c
parent15d265aafa2b50f03bae08a19ad0575706ad3ead (diff)
xfs: use shifting and masking when converting rt extents, if possiblerefactor-rt-unit-conversions_2022-11-09
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_refcount.c')
0 files changed, 0 insertions, 0 deletions