]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/cache/pwl/ssd: don't count log entries
authorIlya Dryomov <idryomov@gmail.com>
Sat, 8 May 2021 08:24:37 +0000 (10:24 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sat, 15 May 2021 16:48:22 +0000 (18:48 +0200)
commitea65553b4a9ee1349c6da8452d861afe579e99e9
treed2271fe3c008aee44084967e869a698d824c4fb8
parent74ecc4b76a10c53be928807b5be077f080d34724
librbd/cache/pwl/ssd: don't count log entries

In ssd mode log entries are variable size.  Attempting to count and
impose watermarks on the number of log entries is bogus because the
total number of entries it would take to fill the cache to capacity
is also variable and can't be precisely estimated.

Fixes: https://tracker.ceph.com/issues/50669
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/cache/pwl/ssd/Request.cc
src/librbd/cache/pwl/ssd/WriteLog.cc