]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ceph: drop support for preferred_osd pgs
authorSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:33:36 +0000 (15:33 -0700)
committerSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:33:36 +0000 (15:33 -0700)
commit3469ac1aa3a2f1e2586a412923c414779a0af854
treeb271456518130622e6d394cf50939c132f1a1d0d
parentcd9d9f5df6098c50726200d4185e9e8da32785b3
ceph: drop support for preferred_osd pgs

This was an ill-conceived feature that has been removed from Ceph.  Do
this gracefully:

 - reject attempts to specify a preferred_osd via the ioctl
 - stop exposing this information via virtual xattrs
 - always fill in -1 for requests, in case we talk to an older server
 - don't calculate preferred_osd placements/pgids

Reviewed-by: Alex Elder <elder@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
drivers/block/rbd.c
fs/ceph/file.c
fs/ceph/ioctl.c
fs/ceph/xattr.c
include/linux/ceph/ceph_fs.h
include/linux/ceph/osdmap.h
net/ceph/osdmap.c