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~24 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5b7a468eadb18ac8f91681ec91da2e50b6ad53a2;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) ---