ceph: include preferred osd in placement seed
authorSage Weil <sage@newdream.net>
Mon, 19 Oct 2009 18:41:51 +0000 (11:41 -0700)
committerSage Weil <sage@newdream.net>
Mon, 19 Oct 2009 18:42:41 +0000 (11:42 -0700)
commitee7fdfaff7702bd209e3a013b2fc4643233f5465
tree98affb849897dcefc0b256886f4e43df7aae1052
parent8fa9765576875200a7412a5300b5f0537211f038
ceph: include preferred osd in placement seed

Mix the preferred osd (if any) into the placement seed that is fed into
the CRUSH object placement calculation.  This prevents all the placement
pgs from peering with the same osds.

Rev the osd client protocol with this change.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/ceph_fs.h
fs/ceph/osdmap.c