Signed-off-by: Dan Mick <dan.mick@inktank.com>
Check the integer (fixed-point) value to avoid any worries about floating-point rounding. Add tests for reweight < 0. Fixes: #3872 Signed-off-by: Dan Mick <dan.mick@inktank.com> Reviewed-by: Sage Weil <sage.weil@inktank.com>
A few basic sanity checks, including a tell on a down osd. Signed-off-by: Sage Weil <sage@inktank.com>