diff options
author | David Zafman <david.zafman@inktank.com> | 2013-01-29 18:21:51 -0800 |
---|---|---|
committer | David Zafman <david.zafman@inktank.com> | 2013-01-30 14:21:47 -0800 |
commit | 3c8d7d784778d3480bd2e6e50436235d709449ff (patch) | |
tree | ad9ccac352830ccaf5c3cebcf4f443f4687306f9 /src/osd/OSD.h | |
parent | 4a950aa94f04b60fc072c47bbacd82a2c3ddb0c0 (diff) | |
download | ceph-3c8d7d784778d3480bd2e6e50436235d709449ff.tar.gz |
osd: create tool to extract pg info and pg log from filestore
New application ceph-filestore-dump created that mounts filstore
and can dump info or log in JSON when an OSD is not running.
Feature: #3890
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
Diffstat (limited to 'src/osd/OSD.h')
-rw-r--r-- | src/osd/OSD.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/OSD.h b/src/osd/OSD.h index fb6f487bcaa..b411c177a36 100644 --- a/src/osd/OSD.h +++ b/src/osd/OSD.h @@ -461,7 +461,7 @@ public: return hobject_t(sobject_t(object_t(foo), 0)); } - hobject_t make_pg_log_oid(pg_t pg) { + static hobject_t make_pg_log_oid(pg_t pg) { stringstream ss; ss << "pglog_" << pg; string s; @@ -469,7 +469,7 @@ public: return hobject_t(sobject_t(object_t(s.c_str()), 0)); } - hobject_t make_pg_biginfo_oid(pg_t pg) { + static hobject_t make_pg_biginfo_oid(pg_t pg) { stringstream ss; ss << "pginfo_" << pg; string s; |