diff options
Diffstat (limited to 'src/mon/Monitor.h')
-rw-r--r-- | src/mon/Monitor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mon/Monitor.h b/src/mon/Monitor.h index 8c152fe108f..557edbf2eb4 100644 --- a/src/mon/Monitor.h +++ b/src/mon/Monitor.h @@ -342,8 +342,10 @@ private: struct ScrubState { std::pair<std::string,std::string> last_key; ///< last scrubbed key bool finished; + const utime_t start; - ScrubState() : finished(false) { } + ScrubState() : finished(false), + start(ceph_clock_now()) { } virtual ~ScrubState() { } }; std::shared_ptr<ScrubState> scrub_state; ///< keeps track of current scrub |