From: Igor Fedotov Date: Wed, 31 Jan 2018 15:54:28 +0000 (+0300) Subject: os/bluestore: do not account DB volume space in total one reported by statfs method X-Git-Tag: v13.0.2~217^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20487%2Fhead;p=ceph.git os/bluestore: do not account DB volume space in total one reported by statfs method Signed-off-by: Igor Fedotov --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index f419a0a64aad..0f731776e83b 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -6404,11 +6404,6 @@ int BlueStore::statfs(struct store_statfs_t *buf) if (shared_available > 0) { buf->available += shared_available; } - - // include dedicated db, too, if that isn't the shared device. - if (bluefs_shared_bdev != BlueFS::BDEV_DB) { - buf->total += bluefs->get_total(BlueFS::BDEV_DB); - } } {