| 573 | } |
| 574 | |
| 575 | Status RequestContext::AddRemoteOperRange(RemoteOperRange* oper_range) { |
| 576 | unique_lock<mutex> lock(lock_); |
| 577 | if (state_ == RequestContext::Cancelled) return CONTEXT_CANCELLED; |
| 578 | AddRangeToDisk(lock, oper_range, ScheduleMode::IMMEDIATELY); |
| 579 | return Status::OK(); |
| 580 | } |
| 581 | |
| 582 | void RequestContext::AddActiveScanRangeLocked( |
| 583 | const unique_lock<mutex>& lock, ScanRange* range) { |