diff options
author | Greg Farnum <gregf@hq.newdream.net> | 2010-09-24 23:56:40 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-10-21 00:38:23 +0200 |
commit | 571dba52a34015a5a7aa5d480a86936878444a6f (patch) | |
tree | 358000d91b2960555835e7e194660f45d189953b /fs/ceph/ioctl.h | |
parent | ceph: don't crash when passed bad mount options (diff) | |
download | linux-571dba52a34015a5a7aa5d480a86936878444a6f.tar.xz linux-571dba52a34015a5a7aa5d480a86936878444a6f.zip |
ceph: add CEPH_MDS_OP_SETDIRLAYOUT and associated ioctl.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/ioctl.h')
-rw-r--r-- | fs/ceph/ioctl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ceph/ioctl.h b/fs/ceph/ioctl.h index 88451a3b6857..a6ce54e94eb5 100644 --- a/fs/ceph/ioctl.h +++ b/fs/ceph/ioctl.h @@ -4,7 +4,7 @@ #include <linux/ioctl.h> #include <linux/types.h> -#define CEPH_IOCTL_MAGIC 0x97 +#define CEPH_IOCTL_MAGIC 0x98 /* just use u64 to align sanely on all archs */ struct ceph_ioctl_layout { @@ -17,6 +17,8 @@ struct ceph_ioctl_layout { struct ceph_ioctl_layout) #define CEPH_IOC_SET_LAYOUT _IOW(CEPH_IOCTL_MAGIC, 2, \ struct ceph_ioctl_layout) +#define CEPH_IOC_SET_LAYOUT_POLICY _IOW(CEPH_IOCTL_MAGIC, 5, \ + struct ceph_ioctl_layout) /* * Extract identity, address of the OSD and object storing a given |