Lines Matching full:bypass
192 if (op->bypass) in CLOSURE_CALLBACK()
271 op->bypass = true; in CLOSURE_CALLBACK()
305 * If op->bypass is true, instead of inserting the data it invalidates the
313 op->writeback, op->bypass); in CLOSURE_CALLBACK()
322 * beyond which we should bypass the cache due to congestion.
378 * returned and all requests will bypass the cache device. in check_should_bypass()
396 * If the bio is for read-ahead or background IO, bypass it or in check_should_bypass()
398 * - If the IO is for meta data, always cache it and no bypass in check_should_bypass()
400 * BCH_CACHE_READA_ALL: cache it and not bypass in check_should_bypass()
401 * BCH_CACHE_READA_META_ONLY: not cache it and bypass in check_should_bypass()
881 !s->cache_missed, s->iop.bypass); in CLOSURE_CALLBACK()
882 trace_bcache_read(s->orig_bio, !s->cache_missed, s->iop.bypass); in CLOSURE_CALLBACK()
902 if (s->cache_miss || s->iop.bypass) { in cached_dev_cache_miss()
996 s->iop.bypass = false; in cached_dev_write()
1008 s->iop.bypass = true; in cached_dev_write()
1012 s->iop.bypass)) { in cached_dev_write()
1013 s->iop.bypass = false; in cached_dev_write()
1017 if (s->iop.bypass) { in cached_dev_write()
1219 s->iop.bypass = check_should_bypass(dc, bio); in cached_dev_submit_bio()
1310 s->iop.bypass = (bio_op(bio) == REQ_OP_DISCARD) != 0; in flash_dev_submit_bio()