common/ceph_strings: add some MDS internal op names to ceph_mds_op_name()

In addition to my validate and flush, this is also missing exportdir.

Signed-off-by: Greg Farnum <greg@inktank.com>
This commit is contained in:
Greg Farnum 2014-10-02 15:21:31 -07:00 committed by Greg Farnum
parent 26736b2244
commit f1677e745a

View File

@ -197,6 +197,9 @@ const char *ceph_mds_op_name(int op)
case CEPH_MDS_OP_SETFILELOCK: return "setfilelock";
case CEPH_MDS_OP_GETFILELOCK: return "getfilelock";
case CEPH_MDS_OP_FRAGMENTDIR: return "fragmentdir";
case CEPH_MDS_OP_EXPORTDIR: return "exportdir";
case CEPH_MDS_OP_VALIDATE: return "validate_path";
case CEPH_MDS_OP_FLUSH: return "flush_path";
}
return "???";
}