]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: estimate omap_allocated
authorSage Weil <sage@redhat.com>
Mon, 9 Apr 2018 19:58:03 +0000 (14:58 -0500)
committerSage Weil <sage@redhat.com>
Wed, 15 Aug 2018 22:18:43 +0000 (17:18 -0500)
commit186edca81ef09058b9c121967ab1850fbb5812b6
tree1a364ac8ce08513026a135bbad2b5935dfc9c144
parent6c82e66dde715e5e4e12261655c5e7b521871453
os/filestore: estimate omap_allocated

Assume all of leveldb/rocksdb is omap.  This is an overestimate, but
better than nothing.

We don't populate the metadata overhead (no easy way to calculate this
that comes to mind).  And we don't populate the compression-related
fields.  It's possible we could make something up here in the VDO
case...

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/filestore/FileStore.cc