mirror of
https://github.com/ceph/ceph
synced 2025-01-29 14:34:40 +00:00
osd: debug user_versions a bit
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
1c5e58a85e
commit
1610768d4a
@ -54,8 +54,8 @@ public:
|
||||
bool is_onnvram() const { return get_flags() & CEPH_OSD_FLAG_ONNVRAM; }
|
||||
|
||||
int get_result() const { return result; }
|
||||
eversion_t get_replay_version() { return replay_version; }
|
||||
version_t get_user_version() { return user_version; }
|
||||
eversion_t get_replay_version() const { return replay_version; }
|
||||
version_t get_user_version() const { return user_version; }
|
||||
|
||||
void set_result(int r) { result = r; }
|
||||
|
||||
@ -239,7 +239,9 @@ public:
|
||||
|
||||
void print(ostream& out) const {
|
||||
out << "osd_op_reply(" << get_tid()
|
||||
<< " " << oid << " " << ops;
|
||||
<< " " << oid << " " << ops
|
||||
<< " v" << get_replay_version()
|
||||
<< " uv" << get_user_version();
|
||||
if (is_ondisk())
|
||||
out << " ondisk";
|
||||
else if (is_onnvram())
|
||||
|
Loading…
Reference in New Issue
Block a user