From: Ilya Dryomov Date: Sat, 14 Aug 2021 17:06:28 +0000 (+0200) Subject: librbd/cache/pwl: make pool size a multiple of 1M X-Git-Tag: v16.2.7~50^2~26 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b8aa20d57b76964f0ef5b8e6a21b50f45c31fef;p=ceph.git librbd/cache/pwl: make pool size a multiple of 1M In ssd mode, we need it to be a multiple of bdev block size. Instead of munging it after opening the bdev in ssd/WriteLog.cc, let's impose a common restriction and round rbd_persistent_cache_size down to a 1M boundary. Signed-off-by: Ilya Dryomov (cherry picked from commit 1fc722bc218acfe8a52ad7be2c06347bddb42bbe) ---