Home
last modified time | relevance | path

Searched refs:cache_bio (Results 1 – 1 of 1) sorted by relevance

/drivers/md/bcache/
Drequest.c798 struct bio *miss, *cache_bio; in cached_dev_cache_miss() local
831 cache_bio = bio_alloc_bioset(GFP_NOWAIT, in cached_dev_cache_miss()
834 if (!cache_bio) in cached_dev_cache_miss()
837 cache_bio->bi_iter.bi_sector = miss->bi_iter.bi_sector; in cached_dev_cache_miss()
838 cache_bio->bi_bdev = miss->bi_bdev; in cached_dev_cache_miss()
839 cache_bio->bi_iter.bi_size = s->insert_bio_sectors << 9; in cached_dev_cache_miss()
841 cache_bio->bi_end_io = request_endio; in cached_dev_cache_miss()
842 cache_bio->bi_private = &s->cl; in cached_dev_cache_miss()
844 bch_bio_map(cache_bio, NULL); in cached_dev_cache_miss()
845 if (bio_alloc_pages(cache_bio, __GFP_NOWARN|GFP_NOIO)) in cached_dev_cache_miss()
[all …]