Home
last modified time | relevance | path

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

/Linux-v6.6/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()
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()
819 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.c1685 dp_flags = bio_flags_to_wire(peer_device->connection, req->master_bio); in drbd_send_dblock()
1712 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest_out); in drbd_send_dblock()
1728 err = _drbd_send_bio(peer_device, req->master_bio); in drbd_send_dblock()
1730 err = _drbd_send_zc_bio(peer_device, req->master_bio); in drbd_send_dblock()
1737 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest); in drbd_send_dblock()
2261 struct bio *bio = req->master_bio; in do_retry()
Ddrbd_worker.c1523 if (bio_data_dir(req->master_bio) == WRITE && req->rq_state & RQ_IN_ACT_LOG) in w_restart_disk_io()
1527 req->master_bio, GFP_NOIO, in w_restart_disk_io()
Ddrbd_int.h224 struct bio *master_bio; /* master bio pointer */ member
Ddrbd_receiver.c2005 bio = req->master_bio; in recv_dless_read()
/Linux-v6.6/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()
305 bio->bi_iter.bi_sector = mp_bh->master_bio->bi_iter.bi_sector; in multipathd()
316 *bio = *(mp_bh->master_bio); in multipathd()
Dmd-multipath.h27 struct bio *master_bio; member
Draid1.h164 struct bio *master_bio; member
Draid10.h130 struct bio *master_bio; member
Draid10.c322 struct bio *bio = r10_bio->master_bio; in raid_end_bio_io()
1239 r10_bio->master_bio = bio; in raid10_read_request()
1246 r10_bio->master_bio = bio; in raid10_read_request()
1551 r10_bio->master_bio = bio; in raid10_write_request()
1555 r10_bio->master_bio = bio; in raid10_write_request()
1575 r10_bio->master_bio = bio; in __make_request()
1601 first_r10bio = (struct r10bio *)r10bio->master_bio; in raid_end_discard_bio()
1606 bio_endio(r10bio->master_bio); in raid_end_discard_bio()
1776 r10_bio->master_bio = bio; in raid10_handle_discard()
1781 r10_bio->master_bio = (struct bio *)first_r10bio; in raid10_handle_discard()
[all …]
Draid1.c201 r1_bio->master_bio = NULL; in r1buf_pool_alloc()
302 struct bio *bio = r1_bio->master_bio; in call_bio_endio()
312 struct bio *bio = r1_bio->master_bio; in raid_end_bio_io()
542 struct bio *mbio = r1_bio->master_bio; in raid1_end_write_request()
1195 r1_bio->master_bio = bio; in init_r1bio()
1306 r1_bio->master_bio = bio; in raid1_read_request()
1313 r1_bio->master_bio = bio; in raid1_read_request()
1504 r1_bio->master_bio = bio; in raid1_write_request()
1509 r1_bio->master_bio = bio; in raid1_write_request()
2413 wbio = bio_alloc_clone(rdev->bdev, r1_bio->master_bio, in narrow_write_error()
[all …]