Searched refs:master_bio (Results 1 - 10 of 10) sorted by relevance

/linux-master/drivers/md/
H A Draid10.h130 struct bio *master_bio; member in struct:r10bio
H A Draid1.h165 struct bio *master_bio; member in struct:r1bio
H A Draid10.c321 struct bio *bio = r10_bio->master_bio;
1213 r10_bio->master_bio = bio;
1220 r10_bio->master_bio = bio;
1489 r10_bio->master_bio = bio;
1493 r10_bio->master_bio = bio;
1513 r10_bio->master_bio = bio;
1539 first_r10bio = (struct r10bio *)r10bio->master_bio;
1544 bio_endio(r10bio->master_bio);
1699 * Inspired by raid10_sync_request, we can use the first r10bio->master_bio
1700 * to record the discard bio. Other r10bio->master_bio recor
[all...]
H A Draid1.c199 r1_bio->master_bio = NULL;
300 struct bio *bio = r1_bio->master_bio;
310 struct bio *bio = r1_bio->master_bio;
537 struct bio *mbio = r1_bio->master_bio;
1287 r1_bio->master_bio = bio;
1396 r1_bio->master_bio = bio;
1403 r1_bio->master_bio = bio;
1590 r1_bio->master_bio = bio;
1595 r1_bio->master_bio = bio;
2512 wbio = bio_alloc_clone(rdev->bdev, r1_bio->master_bio,
[all...]
/linux-master/drivers/block/drbd/
H A Ddrbd_req.c37 req->master_bio = bio_src;
77 if ((req->master_bio && !(s & RQ_POSTPONED)) ||
215 if (!req->master_bio) {
216 drbd_err(device, "drbd_req_complete: Logic BUG, master_bio == NULL!\n");
228 * what we need to do here is just: complete the master_bio.
243 if (op_is_write(bio_op(req->master_bio)) &&
248 bio_end_io_acct(req->master_bio, req->start_jif);
265 bio_op(req->master_bio) == REQ_OP_READ &&
266 !(req->master_bio->bi_opf & REQ_RAHEAD) &&
272 m->bio = req->master_bio;
[all...]
H A Ddrbd_debugfs.c59 seq_printf(m, "\tmaster: %s", req->master_bio ? "pending" : "completed");
336 if (req->master_bio == NULL)
H A Ddrbd_main.c1685 dp_flags = bio_flags_to_wire(peer_device->connection, req->master_bio);
1712 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest_out);
1728 err = _drbd_send_bio(peer_device, req->master_bio);
1730 err = _drbd_send_zc_bio(peer_device, req->master_bio);
1737 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest);
2261 struct bio *bio = req->master_bio;
H A Ddrbd_worker.c1523 if (bio_data_dir(req->master_bio) == WRITE && req->rq_state & RQ_IN_ACT_LOG)
1527 req->master_bio, GFP_NOIO,
H A Ddrbd_int.h224 struct bio *master_bio; /* master bio pointer */ member in struct:drbd_request
283 /* once it hits 0, we may complete the master_bio */
H A Ddrbd_receiver.c2005 bio = req->master_bio;

Completed in 251 milliseconds