]> git.baikalelectronics.ru Git - kernel.git/commit
crush: be more tolerant of nonsensical crush maps
authorSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:35:24 +0000 (15:35 -0700)
committerSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:38:51 +0000 (15:38 -0700)
commitf90b5418d816774bebd6a03933cec5f624ae5643
treef5bdd809f4bcc24daa0dfe1f7bcc8eb2d56227bb
parent70100554e6c48ff09fa109dc59ad821f7485b1f9
crush: be more tolerant of nonsensical crush maps

If we get a map that doesn't make sense, error out or ignore the badness
instead of BUGging out.  This reflects the ceph.git commits
9895f0bff7dc68e9b49b572613d242315fb11b6c and
8ded26472058d5205803f244c2f33cb6cb10de79.

Reviewed-by: Alex Elder <elder@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
net/ceph/crush/mapper.c