OpenCloudOS-Kernel/include/linux/ceph
Sage Weil 83ca14fdd3 libceph: add support for HASHPSPOOL pool flag
The legacy behavior adds the pgid seed and pool together as the input for
CRUSH.  That is problematic because each pool's PGs end up mapping to the
same OSDs: 1.5 == 2.4 == 3.3 == ...

Instead, if the HASHPSPOOL flag is set, we has the ps and pool together and
feed that into CRUSH.  This ensures that two adjacent pools will map to
an independent pseudorandom set of OSDs.

Advertise our support for this via a protocol feature flag.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
2013-02-26 15:03:06 -08:00
..
auth.h ceph: messenger: reduce args to create_authorizer 2012-05-17 08:18:12 -05:00
buffer.h
ceph_debug.h
ceph_features.h libceph: add support for HASHPSPOOL pool flag 2013-02-26 15:03:06 -08:00
ceph_frag.h
ceph_fs.h libceph: update ceph_fs.h 2013-02-18 12:20:30 -06:00
ceph_hash.h
debugfs.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00
decode.h Merge branch 'testing' of github.com:ceph/ceph-client into v3.8-rc5-testing 2013-01-30 07:54:34 -06:00
libceph.h libceph: drop return value from page vector copy routines 2013-02-19 19:14:05 -06:00
mdsmap.h ceph: update support for PGID64, PGPOOL3, OSDENC protocol features 2013-02-26 15:02:25 -08:00
messenger.h libceph: fix messenger CONFIG_BLOCK dependencies 2013-02-13 18:27:40 -08:00
mon_client.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2012-10-08 06:38:18 +09:00
msgpool.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00
msgr.h
osd_client.h libceph: update osd request/reply encoding 2013-02-26 15:02:50 -08:00
osdmap.h libceph: add support for HASHPSPOOL pool flag 2013-02-26 15:03:06 -08:00
pagelist.h ceph: add pagelist_reserve, pagelist_truncate, pagelist_set_cursor 2010-10-20 15:38:16 -07:00
rados.h libceph: update osd request/reply encoding 2013-02-26 15:02:50 -08:00
types.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00