Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_req.c39 req->master_bio = bio_src; in drbd_req_new()
79 if ((req->master_bio && !(s & RQ_POSTPONED)) || in drbd_req_destroy()
216 if (!req->master_bio) { in drbd_req_complete()
244 if (op_is_write(bio_op(req->master_bio)) && in drbd_req_complete()
249 bio_end_io_acct(req->master_bio, req->start_jif); in drbd_req_complete()
266 bio_op(req->master_bio) == REQ_OP_READ && in drbd_req_complete()
267 !(req->master_bio->bi_opf & REQ_RAHEAD) && in drbd_req_complete()
273 m->bio = req->master_bio; in drbd_req_complete()
274 req->master_bio = NULL; in drbd_req_complete()
806 if (bio_data_dir(req->master_bio) == WRITE) in __req_mod()
[all …]
Ddrbd_main.c1700 dp_flags = bio_flags_to_wire(peer_device->connection, req->master_bio); in drbd_send_dblock()
1735 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest_out); in drbd_send_dblock()
1740 bio_iovec(req->master_bio).bv_len); in drbd_send_dblock()
1758 err = _drbd_send_bio(peer_device, req->master_bio); in drbd_send_dblock()
1760 err = _drbd_send_zc_bio(peer_device, req->master_bio); in drbd_send_dblock()
1767 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest); in drbd_send_dblock()
2295 struct bio *bio = req->master_bio; in do_retry()
Ddrbd_debugfs.c59 seq_printf(m, "\tmaster: %s", req->master_bio ? "pending" : "completed"); in seq_print_request_state()
336 if (req->master_bio == NULL) in seq_print_resource_transfer_log_summary()
Ddrbd_worker.c1523 if (bio_data_dir(req->master_bio) == WRITE && req->rq_state & RQ_IN_ACT_LOG) in w_restart_disk_io()
1526 drbd_req_make_private_bio(req, req->master_bio); in w_restart_disk_io()
Ddrbd_int.h297 struct bio *master_bio; /* master bio pointer */ member
Ddrbd_receiver.c2032 bio = req->master_bio; in recv_dless_read()
/drivers/md/
Dmd-multipath.c70 struct bio *bio = mp_bh->master_bio; in multipath_end_bh_io()
113 mp_bh->master_bio = bio; in multipath_make_request()
311 bio->bi_iter.bi_sector = mp_bh->master_bio->bi_iter.bi_sector; in multipathd()
322 *bio = *(mp_bh->master_bio); in multipathd()
Dmd-multipath.h27 struct bio *master_bio; member
Draid1.h165 struct bio *master_bio; member
Draid10.h131 struct bio *master_bio; member
Draid1.c200 r1_bio->master_bio = NULL; in r1buf_pool_alloc()
298 struct bio *bio = r1_bio->master_bio; in call_bio_endio()
308 struct bio *bio = r1_bio->master_bio; in raid_end_bio_io()
538 struct bio *mbio = r1_bio->master_bio; in raid1_end_write_request()
1180 r1_bio->master_bio = bio; in init_r1bio()
1287 r1_bio->master_bio = bio; in raid1_read_request()
1458 r1_bio->master_bio = bio; in raid1_write_request()
2370 wbio = bio_clone_fast(r1_bio->master_bio, GFP_NOIO, in narrow_write_error()
2500 bio = r1_bio->master_bio; in handle_read_error()
2603 r1bio->master_bio = NULL; in raid1_alloc_init_r1buf()
Draid10.c294 struct bio *bio = r10_bio->master_bio; in raid_end_bio_io()
1193 r10_bio->master_bio = bio; in raid10_read_request()
1484 r10_bio->master_bio = bio; in raid10_write_request()
1506 r10_bio->master_bio = bio; in __make_request()
1934 if (r10_bio->master_bio == NULL) { in end_sync_request()
1945 struct r10bio *r10_bio2 = (struct r10bio *)r10_bio->master_bio; in end_sync_request()
2523 struct bio *bio = r10_bio->master_bio; in narrow_write_error()
2613 raid10_read_request(mddev, r10_bio->master_bio, r10_bio); in handle_read_error()
3114 r10_bio->master_bio = (struct bio*)rb2; in raid10_sync_request()
3291 r10_bio = (struct r10bio*) rb2->master_bio; in raid10_sync_request()
[all …]