diff options
author | Sage Weil <sage@newdream.net> | 2009-10-19 11:41:51 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-10-19 11:42:41 -0700 |
commit | ee7fdfaff7702bd209e3a013b2fc4643233f5465 (patch) | |
tree | 98affb849897dcefc0b256886f4e43df7aae1052 /fs/ceph/ceph_fs.h | |
parent | 8fa9765576875200a7412a5300b5f0537211f038 (diff) | |
download | linux-ee7fdfaff7702bd209e3a013b2fc4643233f5465.tar.gz linux-ee7fdfaff7702bd209e3a013b2fc4643233f5465.tar.bz2 linux-ee7fdfaff7702bd209e3a013b2fc4643233f5465.zip |
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>
Diffstat (limited to 'fs/ceph/ceph_fs.h')
-rw-r--r-- | fs/ceph/ceph_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/ceph_fs.h b/fs/ceph/ceph_fs.h index 9b16e2e06ea6..f8f27e28a6bf 100644 --- a/fs/ceph/ceph_fs.h +++ b/fs/ceph/ceph_fs.h @@ -38,7 +38,7 @@ #define CEPH_OSD_PROTOCOL 7 /* cluster internal */ #define CEPH_MDS_PROTOCOL 9 /* cluster internal */ #define CEPH_MON_PROTOCOL 5 /* cluster internal */ -#define CEPH_OSDC_PROTOCOL 20 /* server/client */ +#define CEPH_OSDC_PROTOCOL 21 /* server/client */ #define CEPH_MDSC_PROTOCOL 29 /* server/client */ #define CEPH_MONC_PROTOCOL 15 /* server/client */ |