Searched refs:ra_bio (Results 1 – 1 of 1) sorted by relevance
1640 struct bio *ra_bio; /* bio to do the read ahead */ member1648 ctx->ra_bio = bio_alloc_bioset(GFP_KERNEL, BIO_MAX_PAGES, &log->bs); in r5l_recovery_allocate_ra_pool()1649 if (!ctx->ra_bio) in r5l_recovery_allocate_ra_pool()1664 bio_put(ctx->ra_bio); in r5l_recovery_allocate_ra_pool()1679 bio_put(ctx->ra_bio); in r5l_recovery_free_ra_pool()1692 bio_reset(ctx->ra_bio); in r5l_recovery_fetch_ra_pool()1693 bio_set_dev(ctx->ra_bio, log->rdev->bdev); in r5l_recovery_fetch_ra_pool()1694 bio_set_op_attrs(ctx->ra_bio, REQ_OP_READ, 0); in r5l_recovery_fetch_ra_pool()1695 ctx->ra_bio->bi_iter.bi_sector = log->rdev->data_offset + offset; in r5l_recovery_fetch_ra_pool()1701 bio_add_page(ctx->ra_bio, in r5l_recovery_fetch_ra_pool()[all …]