]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
include/intarith: introduce round_down_to()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 27 Dec 2023 15:18:50 +0000 (16:18 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Sat, 20 Jan 2024 15:06:53 +0000 (16:06 +0100)
commit94bf3a5d74cfd61e0bd881ca2863fe2205f27767
tree158019a4d666b7e6211f7f408df5f7aceab8143d
parent9931282bfd2260d654325970555cab8c617e8f14
include/intarith: introduce round_down_to()

Same as with round_up_to(), d isn't required to be a power of two.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/include/intarith.h
src/librbd/api/DiffIterate.cc