Lines Matching defs:bio
7 * - It's bio based, so the latency covers the whole block layer in addition to
14 * that we can have as many outstanding bio's as we're allowed to. Only at
463 static void blkcg_iolatency_throttle(struct rq_qos *rqos, struct bio *bio)
466 struct blkcg_gq *blkg = bio->bi_blkg;
467 bool issue_as_root = bio_issue_as_root_blkg(bio);
481 (bio->bi_opf & REQ_SWAP) == REQ_SWAP);
507 * We don't want to count issue_as_root bio's in the cgroups latency
591 static void blkcg_iolatency_done_bio(struct rq_qos *rqos, struct bio *bio)
598 bool issue_as_root = bio_issue_as_root_blkg(bio);
601 blkg = bio->bi_blkg;
602 if (!blkg || !bio_flagged(bio, BIO_QOS_THROTTLED))
605 iolat = blkg_to_lat(bio->bi_blkg);
624 * If bi_status is BLK_STS_AGAIN, the bio wasn't actually
627 if (iolat->min_lat_nsec && bio->bi_status != BLK_STS_AGAIN) {
628 iolatency_record_time(iolat, &bio->bi_issue, now,