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: v12.2.5~85^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c45cb833130312e44486aae8e994f35f29ee70fb;p=ceph.git os/bluestore: do not account DB volume space in total one reported by statfs method Signed-off-by: Igor Fedotov (cherry picked from commit f798b13a043523e1677abdcb3df0d9ced8774098) --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 6a98ac0ec04ea..aee560ad6c9bd 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -6225,11 +6225,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); - } } {