Lines Matching refs:Priority
144 Env::Priority thread_pri) { in FlushMemTableToOutputFile()
248 JobContext* job_context, LogBuffer* log_buffer, Env::Priority thread_pri) { in FlushMemTablesToOutputFiles()
290 JobContext* job_context, LogBuffer* log_buffer, Env::Priority thread_pri) { in AtomicFlushMemTablesToOutputFiles()
1034 &compaction_job_stats, Env::Priority::USER, &manual_compaction_paused_); in CompactFilesImpl()
1546 Env::Priority thread_pool_pri = Env::Priority::LOW; in RunManualCompaction()
1548 env_->GetBackgroundThreads(Env::Priority::BOTTOM) > 0) { in RunManualCompaction()
1549 thread_pool_pri = Env::Priority::BOTTOM; in RunManualCompaction()
1970 env_->GetBackgroundThreads(Env::Priority::HIGH) == 0; in MaybeScheduleFlushOrCompaction()
1976 fta->thread_pri_ = Env::Priority::HIGH; in MaybeScheduleFlushOrCompaction()
1977 env_->Schedule(&DBImpl::BGWorkFlush, fta, Env::Priority::HIGH, this, in MaybeScheduleFlushOrCompaction()
1994 fta->thread_pri_ = Env::Priority::LOW; in MaybeScheduleFlushOrCompaction()
1995 env_->Schedule(&DBImpl::BGWorkFlush, fta, Env::Priority::LOW, this, in MaybeScheduleFlushOrCompaction()
2026 env_->Schedule(&DBImpl::BGWorkCompaction, ca, Env::Priority::LOW, this, in MaybeScheduleFlushOrCompaction()
2154 IOSTATS_SET_THREAD_POOL_ID(Env::Priority::LOW); in BGWorkCompaction()
2159 prepicked_compaction, Env::Priority::LOW); in BGWorkCompaction()
2166 IOSTATS_SET_THREAD_POOL_ID(Env::Priority::BOTTOM); in BGWorkBottomCompaction()
2171 ca.db->BackgroundCallCompaction(prepicked_compaction, Env::Priority::BOTTOM); in BGWorkBottomCompaction()
2176 IOSTATS_SET_THREAD_POOL_ID(Env::Priority::HIGH); in BGWorkPurge()
2201 Env::Priority thread_pri) { in BackgroundFlush()
2279 void DBImpl::BackgroundCallFlush(Env::Priority thread_pri) { in BackgroundCallFlush()
2360 Env::Priority bg_thread_pri) { in BackgroundCallCompaction()
2379 assert((bg_thread_pri == Env::Priority::BOTTOM && in BackgroundCallCompaction()
2381 (bg_thread_pri == Env::Priority::LOW && bg_compaction_scheduled_)); in BackgroundCallCompaction()
2445 if (bg_thread_pri == Env::Priority::LOW) { in BackgroundCallCompaction()
2448 assert(bg_thread_pri == Env::Priority::BOTTOM); in BackgroundCallCompaction()
2479 Env::Priority thread_pri) { in BackgroundCompaction()
2788 env_->GetBackgroundThreads(Env::Priority::BOTTOM) > 0) { in BackgroundCompaction()
2801 env_->Schedule(&DBImpl::BGWorkBottomCompaction, ca, Env::Priority::BOTTOM, in BackgroundCompaction()