]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: fix last_clean_interval calculation
authorSage Weil <sage@newdream.net>
Fri, 21 Oct 2011 21:45:59 +0000 (14:45 -0700)
committerSage Weil <sage@newdream.net>
Fri, 21 Oct 2011 22:24:36 +0000 (15:24 -0700)
commit035930198dc0247582d7e9a0fc14f7c4fe942f8d
treedf65dcb71c615206de5be944a8a16ae818420c44
parentcf6a9404f0873f939dacbd118ca26384c07b0661
mon: fix last_clean_interval calculation

This up_rom == first check is old and wrong.  It may have been correct at
the time, when the OSD had a defined shutdown procedure, but that is not
currently the case.  And if/when it is, the OSD can simply provide an
accurate clean_thru value.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mon/OSDMonitor.cc