Lines Matching defs:sync

155 BFQ_BFQQ_FNS(sync);
164 /* Expiration time of sync (0) and async (1) requests, in ns. */
183 * When a sync request is dispatched, the queue that contains that
189 * w.r.t. to sync I/O, and it is done to counter the tendency of async
537 * Async I/O can easily starve sync I/O (both sync reads and sync
538 * writes), by consuming all tags. Similarly, storms of sync writes,
539 * such as those that sync(2) may trigger, can starve sync reads.
540 * Limit depths of async I/O and sync writes so as to counter both
553 bfq_log(bfqd, "[%s] wr_busy %d sync %d depth %u",
657 * queue must receive. If bfqq does sync I/O, then these are the only
1679 * - it is sync,
2165 const int sync = rq_is_sync(rq);
2174 bfqq->queued[sync]--;
2862 * Disallow merge of a sync bio into an async request.
3349 * example is sync random I/O on flash storage with command
3465 * arrival of new I/O requests for bfqq (recall that bfqq is sync). If
3594 bfq_log_bfqq(bfqd, bfqq, "recalc_budg: sync %d, seeky %d",
3715 * the finish time of bfqq must be kept in sync with the
3858 * of a request is waited for when a sync queue becomes idle,
4186 * sync non-weight-raised queue, to get a lower number of
4481 * a process that does some sync. A sync generates
5212 * Extra group reference, w.r.t. sync
5776 * allowed to switch to another queue---because bfqq is sync and
6340 * leaving 25% of tags only for sync reads.
6351 * no more than 75% of tags for sync writes (25% extra tags
6352 * w.r.t. async I/O, to prevent async I/O from starving sync
6359 * raised: leaving ~63% of tags for sync reads. This is the
6366 /* no more than ~37% of tags for sync writes (~20% extra tags) */
6713 * parameters, but this timeout is used for both sync and async.