summaryrefslogtreecommitdiffstats
path: root/fs/ceph/ioctl.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-12-02 23:42:39 +0100
committerSage Weil <sage@newdream.net>2009-12-03 23:59:48 +0100
commit33d4909ccc094b8262667bccdd52e01458bee0df (patch)
tree1943b9d2f1796566c827e317958c3bfa8c7dc14f /fs/ceph/ioctl.h
parentceph: hide /.ceph from readdir results (diff)
downloadlinux-33d4909ccc094b8262667bccdd52e01458bee0df.tar.xz
linux-33d4909ccc094b8262667bccdd52e01458bee0df.zip
ceph: allow preferred osd to be get/set via layout ioctl
There is certainly no reason not to report this. The only real downside to allowing the user to set it is that you don't get default values by zeroing the layout struct (the default is -1). Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/ioctl.h')
-rw-r--r--fs/ceph/ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/ioctl.h b/fs/ceph/ioctl.h
index 3c511dab3730..25e4f1a9d059 100644
--- a/fs/ceph/ioctl.h
+++ b/fs/ceph/ioctl.h
@@ -10,6 +10,7 @@
struct ceph_ioctl_layout {
__u64 stripe_unit, stripe_count, object_size;
__u64 data_pool;
+ __s64 preferred_osd;
};
#define CEPH_IOC_GET_LAYOUT _IOR(CEPH_IOCTL_MAGIC, 1, \