Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_req.c37 req->master_bio = bio_src; in drbd_req_new()
77 if ((req->master_bio && !(s & RQ_POSTPONED)) || in drbd_req_destroy()
214 if (!req->master_bio) { in drbd_req_complete()
242 if (op_is_write(bio_op(req->master_bio)) && in drbd_req_complete()
247 bio_end_io_acct(req->master_bio, req->start_jif); in drbd_req_complete()
264 bio_op(req->master_bio) == REQ_OP_READ && in drbd_req_complete()
265 !(req->master_bio->bi_opf & REQ_RAHEAD) && in drbd_req_complete()
271 m->bio = req->master_bio; in drbd_req_complete()
272 req->master_bio = NULL; in drbd_req_complete()
815 if (bio_data_dir(req->master_bio) == WRITE) in __req_mod()
[all …]
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_main.c1674 dp_flags = bio_flags_to_wire(peer_device->connection, req->master_bio); in drbd_send_dblock()
1701 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest_out); in drbd_send_dblock()
1717 err = _drbd_send_bio(peer_device, req->master_bio); in drbd_send_dblock()
1719 err = _drbd_send_zc_bio(peer_device, req->master_bio); in drbd_send_dblock()
1726 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest); in drbd_send_dblock()
2249 struct bio *bio = req->master_bio; in do_retry()
Ddrbd_worker.c1518 if (bio_data_dir(req->master_bio) == WRITE && req->rq_state & RQ_IN_ACT_LOG) in w_restart_disk_io()
1522 req->master_bio, GFP_NOIO, in w_restart_disk_io()
Ddrbd_int.h296 struct bio *master_bio; /* master bio pointer */ member
Ddrbd_receiver.c1983 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()
112 mp_bh->master_bio = bio; in multipath_make_request()
304 bio->bi_iter.bi_sector = mp_bh->master_bio->bi_iter.bi_sector; in multipathd()
315 *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
Draid10.c322 struct bio *bio = r10_bio->master_bio; in raid_end_bio_io()
1236 r10_bio->master_bio = bio; in raid10_read_request()
1547 r10_bio->master_bio = bio; in raid10_write_request()
1571 r10_bio->master_bio = bio; in __make_request()
1598 first_r10bio = (struct r10bio *)r10bio->master_bio; in raid_end_discard_bio()
1603 bio_endio(r10bio->master_bio); in raid_end_discard_bio()
1773 r10_bio->master_bio = bio; in raid10_handle_discard()
1778 r10_bio->master_bio = (struct bio *)first_r10bio; in raid10_handle_discard()
2318 if (r10_bio->master_bio == NULL) { in end_sync_request()
2329 struct r10bio *r10_bio2 = (struct r10bio *)r10_bio->master_bio; in end_sync_request()
[all …]
Draid1.c201 r1_bio->master_bio = NULL; in r1buf_pool_alloc()
302 struct bio *bio = r1_bio->master_bio; in call_bio_endio()
314 struct bio *bio = r1_bio->master_bio; in raid_end_bio_io()
543 struct bio *mbio = r1_bio->master_bio; in raid1_end_write_request()
1187 r1_bio->master_bio = bio; in init_r1bio()
1298 r1_bio->master_bio = bio; in raid1_read_request()
1496 r1_bio->master_bio = bio; in raid1_write_request()
2402 wbio = bio_alloc_clone(rdev->bdev, r1_bio->master_bio, in narrow_write_error()
2531 bio = r1_bio->master_bio; in handle_read_error()
2634 r1bio->master_bio = NULL; in raid1_alloc_init_r1buf()