]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: require fullness state changes (as needed) before boot
authorSage Weil <sage@redhat.com>
Thu, 23 Feb 2017 20:57:01 +0000 (15:57 -0500)
committerSage Weil <sage@redhat.com>
Mon, 6 Mar 2017 22:21:22 +0000 (17:21 -0500)
commit53c1868f3683f53b6ec053cfd634fcac70218ab1
tree91a8653063246f19b847b2e43da98cdc88de0487
parent9f0bc152ab2224e6e9fe2799dbd83337262d5119
osd: require fullness state changes (as needed) before boot

This ensures that we don't have a down osd that is marked full
go up, then realize it's not actually full, and then clear its
full flag.  That would result in a cluster full blip that isn't
needed. This can easily happen if the full_ratio in the osdmap is
increased while the OSD is down.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h