Searched refs:ra_bio (Results 1 – 1 of 1) sorted by relevance
1629 struct bio *ra_bio; /* bio to do the read ahead */ member1637 ctx->ra_bio = bio_alloc_bioset(GFP_KERNEL, BIO_MAX_VECS, &log->bs); in r5l_recovery_allocate_ra_pool()1638 if (!ctx->ra_bio) in r5l_recovery_allocate_ra_pool()1653 bio_put(ctx->ra_bio); in r5l_recovery_allocate_ra_pool()1668 bio_put(ctx->ra_bio); in r5l_recovery_free_ra_pool()1681 bio_reset(ctx->ra_bio); in r5l_recovery_fetch_ra_pool()1682 bio_set_dev(ctx->ra_bio, log->rdev->bdev); in r5l_recovery_fetch_ra_pool()1683 bio_set_op_attrs(ctx->ra_bio, REQ_OP_READ, 0); in r5l_recovery_fetch_ra_pool()1684 ctx->ra_bio->bi_iter.bi_sector = log->rdev->data_offset + offset; in r5l_recovery_fetch_ra_pool()1690 bio_add_page(ctx->ra_bio, in r5l_recovery_fetch_ra_pool()[all …]