]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: use std::countl_zero() when appropriate
authorKefu Chai <tchaikov@gmail.com>
Sun, 21 Aug 2022 16:41:52 +0000 (00:41 +0800)
committerKefu Chai <tchaikov@gmail.com>
Mon, 22 Aug 2022 10:03:59 +0000 (18:03 +0800)
commite132be7ee52ae7dca2947b2a68f17665f4286a67
treee1695fdb8261a61e22d8c32a70ff42add20afd0a
parentdc92dfc9c38ffbbbcee5b9f9705c23c5d4927569
os/bluestore: use std::countl_zero() when appropriate

prefer the facilities provided by standard library over the homebrew
ones for better readability and maintainability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/os/bluestore/Allocator.cc