| 28 | } |
| 29 | |
| 30 | void DiskLocalCheckThread::startup() |
| 31 | { |
| 32 | need_stop = false; |
| 33 | retry = 0; |
| 34 | task->activateAndSchedule(); |
| 35 | LOG_INFO( |
| 36 | log, |
| 37 | "Disk check for disk {} started with period {}", |
| 38 | disk->getName(), |
| 39 | formatReadableTime(static_cast<double>(check_period_ms) * 1e6 /* ns */)); |
| 40 | } |
| 41 | |
| 42 | static int diskStatusChange(bool old_val, bool new_val) |
| 43 | { |
nothing calls this directly
no test coverage detected