Skip to content

Commit

Permalink
os/bluestore: do not account DB volume space in total one reported by…
Browse files Browse the repository at this point in the history
… statfs method

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
  • Loading branch information
ifed01 authored and liewegas committed Feb 19, 2018
1 parent 8709cbc commit f798b13
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/os/bluestore/BlueStore.cc
Expand Up @@ -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);
}
}

{
Expand Down

0 comments on commit f798b13

Please sign in to comment.