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
688 bio_init_clone(orig_bio->bi_bdev, bio, orig_bio, GFP_NOIO); in do_bio_hook()
727 s->orig_bio = bio; in search_alloc()
790 trace_bcache_read_retry(s->orig_bio); in cached_dev_read_error()
793 do_bio_hook(s, s->orig_bio, backing_request_endio); in cached_dev_read_error()
847 bch_data_verify(dc, s->orig_bio); in cached_dev_read_done()
868 trace_bcache_read(s->orig_bio, !s->cache_missed, s->iop.bypass); in cached_dev_read_done_bh()
996 if (should_writeback(dc, s->orig_bio, in cached_dev_write()
1004 s->iop.bio = s->orig_bio; in cached_dev_write()