diff options
author | Greg Farnum <gregf@hq.newdream.net> | 2010-08-02 15:30:08 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-08-02 15:48:54 -0700 |
commit | fbaad9797a761c2d5ff6e755bbb4c046207a1ca2 (patch) | |
tree | abe5e3668294922e70282dab9c36072cac1939c9 /fs/ceph/ceph_strings.c | |
parent | c6f3fdc592d61847da0e2172e352dbcb53c83d39 (diff) | |
download | lwn-fbaad9797a761c2d5ff6e755bbb4c046207a1ca2.tar.gz lwn-fbaad9797a761c2d5ff6e755bbb4c046207a1ca2.zip |
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) case CEPH_MDS_OP_LSSNAP: return "lssnap"; case CEPH_MDS_OP_MKSNAP: return "mksnap"; case CEPH_MDS_OP_RMSNAP: return "rmsnap"; + case CEPH_MDS_OP_SETFILELOCK: return "setfilelock"; + case CEPH_MDS_OP_GETFILELOCK: return "getfilelock"; } return "???"; } |