]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/ceph/ioctl.c
ceph: allow preferred osd to be get/set via layout ioctl
authorSage Weil <sage@newdream.net>
Wed, 2 Dec 2009 22:42:39 +0000 (14:42 -0800)
committerSage Weil <sage@newdream.net>
Thu, 3 Dec 2009 22:59:48 +0000 (14:59 -0800)
commit33d4909ccc094b8262667bccdd52e01458bee0df
tree1943b9d2f1796566c827e317958c3bfa8c7dc14f
parent1d1de9160e0d8aff0d67a21137b62e63ffd6f184
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>
fs/ceph/ioctl.c
fs/ceph/ioctl.h