Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimic: osd: report omap/data/metadata usage #28852

Merged
merged 11 commits into from Jul 15, 2019

Conversation

@jdurgin
Copy link
Member

jdurgin commented Jul 3, 2019

liewegas added 11 commits Apr 9, 2018
We removed this but it's a useful accessor.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit b116d21)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit fa120ce)

Conflicts:
	src/os/bluestore/BlueStore.cc
	src/test/objectstore/store_test.cc

Trivial - gconf and ceph_assert
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a66f8bf)
These don't need to be updated in synchrony.  (In fact, the statfs update
could be much more infrequent.)

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 71d8fe7)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit c6da00b)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 52cfc50)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit fc5561e)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 13295a3)
This is just to let us get at the underlying KeyValueDB for DBObjectMap.
It is not really better or worse than adding accessors for things like
GetEstimatedSize() to ObjectMap.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 6c82e66)
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 186edca)
If we are on VDO, report the *raw* storage we've allocated, as reported
by VDO.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 04b4793)
@jdurgin jdurgin added the core label Jul 3, 2019
@jdurgin jdurgin added this to the mimic milestone Jul 3, 2019
@jdurgin jdurgin requested a review from liewegas Jul 3, 2019
@yuriw

This comment has been minimized.

Copy link
Contributor

yuriw commented Jul 11, 2019

@yuriw yuriw merged commit 33c1f15 into ceph:mimic Jul 15, 2019
4 checks passed
4 checks passed
Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.