Lines Matching refs:master_bio
39 req->master_bio = bio_src;
79 if ((req->master_bio && !(s & RQ_POSTPONED)) ||
216 if (!req->master_bio) {
217 drbd_err(device, "drbd_req_complete: Logic BUG, master_bio == NULL!\n");
229 * what we need to do here is just: complete the master_bio.
244 if (op_is_write(bio_op(req->master_bio)) &&
249 bio_end_io_acct(req->master_bio, req->start_jif);
266 bio_op(req->master_bio) == REQ_OP_READ &&
267 !(req->master_bio->bi_opf & REQ_RAHEAD) &&
273 m->bio = req->master_bio;
274 req->master_bio = NULL;
806 if (bio_data_dir(req->master_bio) == WRITE)
1109 D_ASSERT(device, req->master_bio->bi_opf & REQ_PREFLUSH);
1210 req->start_jif = bio_start_io_acct(req->master_bio);
1307 const int rw = bio_data_dir(req->master_bio);
1435 const int rw = bio_data_dir(req->master_bio);