Home
last modified time | relevance | path

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

/Linux-v5.10/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()
215 if (!req->master_bio) { in drbd_req_complete()
243 if (op_is_write(bio_op(req->master_bio)) && in drbd_req_complete()
248 bio_end_io_acct(req->master_bio, req->start_jif); in drbd_req_complete()
265 bio_op(req->master_bio) == REQ_OP_READ && in drbd_req_complete()
266 !(req->master_bio->bi_opf & REQ_RAHEAD) && in drbd_req_complete()
272 m->bio = req->master_bio; in drbd_req_complete()
273 req->master_bio = NULL; in drbd_req_complete()
805 if (bio_data_dir(req->master_bio) == WRITE) in __req_mod()
[all …]
Ddrbd_main.c1697 dp_flags = bio_flags_to_wire(peer_device->connection, req->master_bio); in drbd_send_dblock()
1732 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest_out); in drbd_send_dblock()
1737 bio_iovec(req->master_bio).bv_len); in drbd_send_dblock()
1755 err = _drbd_send_bio(peer_device, req->master_bio); in drbd_send_dblock()
1757 err = _drbd_send_zc_bio(peer_device, req->master_bio); in drbd_send_dblock()
1764 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest); in drbd_send_dblock()
2292 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()
/Linux-v5.10/drivers/md/
Dmd-multipath.h27 struct bio *master_bio; member
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()
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()
2367 wbio = bio_clone_fast(r1_bio->master_bio, GFP_NOIO, in narrow_write_error()
2497 bio = r1_bio->master_bio; in handle_read_error()
2600 r1bio->master_bio = NULL; in raid1_alloc_init_r1buf()
Draid10.c294 struct bio *bio = r10_bio->master_bio; in raid_end_bio_io()
1183 r10_bio->master_bio = bio; in raid10_read_request()
1468 r10_bio->master_bio = bio; in raid10_write_request()
1490 r10_bio->master_bio = bio; in __make_request()
1914 if (r10_bio->master_bio == NULL) { in end_sync_request()
1925 struct r10bio *r10_bio2 = (struct r10bio *)r10_bio->master_bio; in end_sync_request()
2500 struct bio *bio = r10_bio->master_bio; in narrow_write_error()
2590 raid10_read_request(mddev, r10_bio->master_bio, r10_bio); in handle_read_error()
3095 r10_bio->master_bio = (struct bio*)rb2; in raid10_sync_request()
3272 r10_bio = (struct r10bio*) rb2->master_bio; in raid10_sync_request()
[all …]