ceph/ceph — pull request #2224 by somnathr (2014-08-07 18:09:17+00:00)
Title: OSDMonitor: Do not allow OSD removal using setmaxosd

Description: Currently setmaxosd command allows removal of OSDs by providing
a number less than current max OSD number. This causes abrupt removal of
OSDs causing data loss as well as kernel panic when kernel RBDs are involved.
Fix is to avoid removal of OSDs using setmaxosd command.

Fixes: #8865

Signed-off-by: Anand Bhat