]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd/cache/pwl: fix AbstractWriteLog::check_allocation() signature
authorIlya Dryomov <idryomov@gmail.com>
Sat, 8 May 2021 08:15:05 +0000 (10:15 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sat, 15 May 2021 16:48:22 +0000 (18:48 +0200)
commit74ecc4b76a10c53be928807b5be077f080d34724
tree9e6b9000171f556bae667cc0e73f68c87ae0e7cf
parent829ef952d2e408fe3676b38e7ecd26cbb04571a5
librbd/cache/pwl: fix AbstractWriteLog::check_allocation() signature

All parameters are integers and none of them are (in-)out, so don't
take them by reference.  Additionally num_lanes, num_log_entries and
num_unpublished_reserves don't need to be 64-bit as their respective
fields in AbstractWriteLog are 32-bit.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/cache/pwl/AbstractWriteLog.cc
src/librbd/cache/pwl/AbstractWriteLog.h