diff options
author | Greg Farnum <gregf@hq.newdream.net> | 2010-08-02 18:30:08 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-08-02 18:48:54 -0400 |
commit | fbaad9797a761c2d5ff6e755bbb4c046207a1ca2 (patch) | |
tree | abe5e3668294922e70282dab9c36072cac1939c9 /fs/ceph/ceph_strings.c | |
parent | c6f3fdc592d61847da0e2172e352dbcb53c83d39 (diff) |
ceph: define on-wire types, constants for file locking support
Define the MDS operations and data types for doing file advisory locking
with the MDS.
Signed-off-by: Greg Farnum <gregf@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/ceph_strings.c')
-rw-r--r-- | fs/ceph/ceph_strings.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/ceph_strings.c b/fs/ceph/ceph_strings.c index 0f943a0a3b5e..c6179d3a26a2 100644 --- a/fs/ceph/ceph_strings.c +++ b/fs/ceph/ceph_strings.c | |||
@@ -130,6 +130,8 @@ const char *ceph_mds_op_name(int op) | |||
130 | case CEPH_MDS_OP_LSSNAP: return "lssnap"; | 130 | case CEPH_MDS_OP_LSSNAP: return "lssnap"; |
131 | case CEPH_MDS_OP_MKSNAP: return "mksnap"; | 131 | case CEPH_MDS_OP_MKSNAP: return "mksnap"; |
132 | case CEPH_MDS_OP_RMSNAP: return "rmsnap"; | 132 | case CEPH_MDS_OP_RMSNAP: return "rmsnap"; |
133 | case CEPH_MDS_OP_SETFILELOCK: return "setfilelock"; | ||
134 | case CEPH_MDS_OP_GETFILELOCK: return "getfilelock"; | ||
133 | } | 135 | } |
134 | return "???"; | 136 | return "???"; |
135 | } | 137 | } |