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>
(cherry picked from commit
186edca81ef09058b9c121967ab1850fbb5812b6)
Conflicts:
src/os/filestore/FileStore.cc
No VDO in luminous