Lines Matching refs:sync
325 CFQ_CFQQ_FLAG_deep, /* sync cfqq experienced large depth */
351 CFQ_CFQQ_FNS(sync);
505 * Scale schedule slice based on io priority. Use the sync time slice only
506 * if a queue is marked sync and has sync io queued. A sync queue with async
507 * io only, should not get full sync slice length.
509 static inline int cfq_prio_slice(struct cfq_data *cfqd, bool sync,
512 const int base_slice = cfqd->cfq_slice[sync];
617 * and sync vs async */
1403 const int sync = rq_is_sync(rq);
1405 BUG_ON(!cfqq->queued[sync]);
1406 cfqq->queued[sync]--;
1590 * Disallow merge of a sync bio into an async request.
1850 * It only makes sense to merge sync queues.
1910 * with sync vs async workloads.
2167 * calculate system wide asnc/sync ratio.
2174 * the sync/async slice ratio. */
2177 /* sync workload slice is at least 2 * cfq_slice_idle */
2375 * Drain async requests before we start sync IO
2381 * If this is an async queue and we have sync IO in flight, let it wait
2424 * based on the last sync IO we serviced
2868 * Drop reference to sync queue. A new sync queue will be
3226 * if the new request is sync, but the currently running queue is
3227 * not, let the sync request have priority.
3238 /* Allow preemption only if we are idling on sync-noidle tree */
3246 * So both queues are sync. Let the new request get disk time if
3438 const int sync = rq_is_sync(rq);
3458 if (sync) {
3499 else if (sync && cfqq_empty &&
3935 * we optimistically start assuming sync ops weren't delayed in last