| 843 | } |
| 844 | |
| 845 | void RequestContext::ScheduleScanRange( |
| 846 | const std::unique_lock<std::mutex>& lock, ScanRange* range) { |
| 847 | DCHECK(lock.mutex() == &lock_ && lock.owns_lock()); |
| 848 | DCHECK_EQ(state_, Active); |
| 849 | DCHECK(range != nullptr); |
| 850 | RequestContext::PerDiskState& state = disk_states_[range->disk_id()]; |
| 851 | state.in_flight_ranges()->Enqueue(range); |
| 852 | state.ScheduleContext(lock, this, range->disk_id()); |
| 853 | } |
nothing calls this directly
no test coverage detected