crush: warn on do_rule failure
authorSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:37:23 +0000 (15:37 -0700)
committerSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:39:37 +0000 (15:39 -0700)
commit8b393269008411a612ca549b733b4296e819f2fb
tree0c6977cd34d1d818234765c48f0b6ce31ca39707
parent6eb43f4b5a2a74599b4ff17a97c03a342327ca65
crush: warn on do_rule failure

If we get an error code from crush_do_rule(), print an error to the
console.

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