Lines Matching refs:orig_bio
468 struct bio *orig_bio; member
671 if (s->orig_bio) { in bio_complete()
673 bio_end_io_acct_remapped(s->orig_bio, s->start_time, in bio_complete()
675 trace_bcache_request_end(s->d, s->orig_bio); in bio_complete()
676 s->orig_bio->bi_status = s->iop.status; in bio_complete()
677 bio_endio(s->orig_bio); in bio_complete()
678 s->orig_bio = NULL; in bio_complete()
683 struct bio *orig_bio, in do_bio_hook() argument
689 __bio_clone_fast(bio, orig_bio); in do_bio_hook()
728 s->orig_bio = bio; in search_alloc()
791 trace_bcache_read_retry(s->orig_bio); in cached_dev_read_error()
794 do_bio_hook(s, s->orig_bio, backing_request_endio); in cached_dev_read_error()
848 bch_data_verify(dc, s->orig_bio); in cached_dev_read_done()
869 trace_bcache_read(s->orig_bio, !s->cache_missed, s->iop.bypass); in cached_dev_read_done_bh()
998 if (should_writeback(dc, s->orig_bio, in cached_dev_write()
1006 s->iop.bio = s->orig_bio; in cached_dev_write()