]> git.apps.os.sepia.ceph.com Git - ceph.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 18:00:24 +0000 (19:00 +0100)
commit730b9c5afb03bd054adbac03a00b8946bf2e814f
treef4e6952f7f4f055173fe5618de722364746ae737
parent230eb572fde378d3425f9cf8a4dda02628fcc286
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>
(cherry picked from commit 94bf3a5d74cfd61e0bd881ca2863fe2205f27767)
src/include/intarith.h
src/librbd/api/DiffIterate.cc