Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/block/drbd/
Ddrbd_req.c29 generic_start_io_acct(q, bio_op(req->master_bio), in _drbd_start_io_acct()
38 generic_end_io_acct(q, bio_op(req->master_bio), in _drbd_end_io_acct()
57 req->master_bio = bio_src; in drbd_req_new()
97 if ((req->master_bio && !(s & RQ_POSTPONED)) || in drbd_req_destroy()
233 if (!req->master_bio) { in drbd_req_complete()
261 if (op_is_write(bio_op(req->master_bio)) && in drbd_req_complete()
283 bio_op(req->master_bio) == REQ_OP_READ && in drbd_req_complete()
284 !(req->master_bio->bi_opf & REQ_RAHEAD) && in drbd_req_complete()
290 m->bio = req->master_bio; in drbd_req_complete()
291 req->master_bio = NULL; in drbd_req_complete()
[all …]
Ddrbd_main.c1693 dp_flags = bio_flags_to_wire(peer_device->connection, req->master_bio); in drbd_send_dblock()
1728 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest_out); in drbd_send_dblock()
1733 bio_iovec(req->master_bio).bv_len); in drbd_send_dblock()
1751 err = _drbd_send_bio(peer_device, req->master_bio); in drbd_send_dblock()
1753 err = _drbd_send_zc_bio(peer_device, req->master_bio); in drbd_send_dblock()
1760 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest); in drbd_send_dblock()
2294 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.c1522 if (bio_data_dir(req->master_bio) == WRITE && req->rq_state & RQ_IN_ACT_LOG) in w_restart_disk_io()
1525 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.c2031 bio = req->master_bio; in recv_dless_read()
/Linux-v5.4/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()
114 mp_bh->master_bio = bio; in multipath_make_request()
334 bio->bi_iter.bi_sector = mp_bh->master_bio->bi_iter.bi_sector; in multipathd()
345 *bio = *(mp_bh->master_bio); in multipathd()
Draid1.h165 struct bio *master_bio; member
Draid10.h131 struct bio *master_bio; member
Draid1.c183 r1_bio->master_bio = NULL; in r1buf_pool_alloc()
281 struct bio *bio = r1_bio->master_bio; in call_bio_endio()
297 struct bio *bio = r1_bio->master_bio; in raid_end_bio_io()
522 struct bio *mbio = r1_bio->master_bio; in raid1_end_write_request()
1192 r1_bio->master_bio = bio; in init_r1bio()
1299 r1_bio->master_bio = bio; in raid1_read_request()
1470 r1_bio->master_bio = bio; in raid1_write_request()
2385 wbio = bio_clone_fast(r1_bio->master_bio, GFP_NOIO, in narrow_write_error()
2515 bio = r1_bio->master_bio; in handle_read_error()
2618 r1bio->master_bio = NULL; in raid1_alloc_init_r1buf()
Draid10.c294 struct bio *bio = r10_bio->master_bio; in raid_end_bio_io()
1200 r10_bio->master_bio = bio; in raid10_read_request()
1485 r10_bio->master_bio = bio; in raid10_write_request()
1507 r10_bio->master_bio = bio; in __make_request()
1932 if (r10_bio->master_bio == NULL) { in end_sync_request()
1943 struct r10bio *r10_bio2 = (struct r10bio *)r10_bio->master_bio; in end_sync_request()
2518 struct bio *bio = r10_bio->master_bio; in narrow_write_error()
2608 raid10_read_request(mddev, r10_bio->master_bio, r10_bio); in handle_read_error()
3113 r10_bio->master_bio = (struct bio*)rb2; in raid10_sync_request()
3290 r10_bio = (struct r10bio*) rb2->master_bio; in raid10_sync_request()
[all …]