aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/ceph_fs.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-01-25 14:18:17 -0500
committerSage Weil <sage@newdream.net>2010-01-25 14:49:50 -0500
commit3ea25f9441fc0951ada649105f2c57a59536b539 (patch)
tree0425a1f40899b4d7566fc50c032c9afc0408c240 /fs/ceph/ceph_fs.h
parentec7384ec23dc5a9ea8733e90438e16b6066bfe1b (diff)
ceph: mark MDS CREATE as a write op
CEPH_MDS_OP_CREATE was not correctly marked as a write operation. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/ceph_fs.h')
-rw-r--r--fs/ceph/ceph_fs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/ceph_fs.h b/fs/ceph/ceph_fs.h
index d0f2557bb41..d8923fed8c2 100644
--- a/fs/ceph/ceph_fs.h
+++ b/fs/ceph/ceph_fs.h
@@ -39,7 +39,7 @@
39#define CEPH_MDS_PROTOCOL 9 /* cluster internal */ 39#define CEPH_MDS_PROTOCOL 9 /* cluster internal */
40#define CEPH_MON_PROTOCOL 5 /* cluster internal */ 40#define CEPH_MON_PROTOCOL 5 /* cluster internal */
41#define CEPH_OSDC_PROTOCOL 22 /* server/client */ 41#define CEPH_OSDC_PROTOCOL 22 /* server/client */
42#define CEPH_MDSC_PROTOCOL 31 /* server/client */ 42#define CEPH_MDSC_PROTOCOL 32 /* server/client */
43#define CEPH_MONC_PROTOCOL 15 /* server/client */ 43#define CEPH_MONC_PROTOCOL 15 /* server/client */
44 44
45 45
@@ -271,7 +271,7 @@ enum {
271 CEPH_MDS_OP_RMDIR = 0x01221, 271 CEPH_MDS_OP_RMDIR = 0x01221,
272 CEPH_MDS_OP_SYMLINK = 0x01222, 272 CEPH_MDS_OP_SYMLINK = 0x01222,
273 273
274 CEPH_MDS_OP_CREATE = 0x00301, 274 CEPH_MDS_OP_CREATE = 0x01301,
275 CEPH_MDS_OP_OPEN = 0x00302, 275 CEPH_MDS_OP_OPEN = 0x00302,
276 CEPH_MDS_OP_READDIR = 0x00305, 276 CEPH_MDS_OP_READDIR = 0x00305,
277 277