]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: optional ino for mknod/mkdir/open requests
authorSage Weil <sage@newdream.net>
Tue, 23 Dec 2008 00:12:26 +0000 (16:12 -0800)
committerSage Weil <sage@newdream.net>
Tue, 23 Dec 2008 19:45:22 +0000 (11:45 -0800)
Will be needed for replaying those requests if we get an early
reply, to ensure that the same ino is used.

src/include/ceph_fs.h

index 16051c5d7aebab2ef5bd0b6d49dbadfa16ac7c6d..771ee86310a06bda564ee3d1207e2bdd05e10fc6 100644 (file)
@@ -780,13 +780,16 @@ struct ceph_mds_request_head {
                struct {
                        __le32 mode;
                        __le32 rdev;
+                       __le64 ino;
                } __attribute__ ((packed)) mknod;
                struct {
                        __le32 mode;
+                       __le64 ino;
                } __attribute__ ((packed)) mkdir;
                struct {
                        __le32 flags;
                        __le32 mode;
+                       __le64 ino;
                } __attribute__ ((packed)) open;
                struct {
                        __le64 length;