linux/net/ceph/crush
Ilya Dryomov c6d98a603a crush: return CRUSH_ITEM_UNDEF for failed placements with indep
For firstn mode, if we fail to make a valid placement choice, we just
continue and return a short result to the caller.  For indep mode, however,
we need to make the position stable, and return an undefined value on
failed placements to avoid shifting later results to the left.

Reflects ceph.git commit b1d4dd4eb044875874a1d01c01c7d766db5d0a80.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-12-31 20:32:15 +02:00
..
crush.c crush: factor out (trivial) crush_destroy_rule() 2013-12-31 20:32:11 +02:00
hash.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
mapper.c crush: return CRUSH_ITEM_UNDEF for failed placements with indep 2013-12-31 20:32:15 +02:00