From f798b13a043523e1677abdcb3df0d9ced8774098 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Wed, 31 Jan 2018 18:54:28 +0300 Subject: [PATCH] os/bluestore: do not account DB volume space in total one reported by statfs method Signed-off-by: Igor Fedotov --- src/os/bluestore/BlueStore.cc | 5 ----- 1 file changed, 5 deletions(-) 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); - } } { -- 2.47.3