Skip to content

Commit

Permalink
Merge pull request #28274 from pdvian/wip-39669-mimic
Browse files Browse the repository at this point in the history
mimic: mds: output lock state in format dump

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
  • Loading branch information
yuriw committed Jul 17, 2019
2 parents e14a503 + 380829b commit d184ef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mds/SimpleLock.cc
Expand Up @@ -30,6 +30,7 @@ void SimpleLock::dump(Formatter *f) const {
}
f->close_section();

f->dump_string("state", get_state_name(get_state()));
f->dump_bool("is_leased", is_leased());
f->dump_int("num_rdlocks", get_num_rdlocks());
f->dump_int("num_wrlocks", get_num_wrlocks());
Expand Down

0 comments on commit d184ef8

Please sign in to comment.