Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_req.c39 const int rw = bio_data_dir(req->master_bio); in _drbd_start_io_acct()
54 int rw = bio_data_dir(req->master_bio); in _drbd_end_io_acct()
76 req->master_bio = bio_src; in drbd_req_new()
116 if ((req->master_bio && !(s & RQ_POSTPONED)) || in drbd_req_destroy()
252 if (!req->master_bio) { in drbd_req_complete()
257 rw = bio_rw(req->master_bio); in drbd_req_complete()
308 m->bio = req->master_bio; in drbd_req_complete()
309 req->master_bio = NULL; in drbd_req_complete()
848 if (bio_data_dir(req->master_bio) == WRITE) in __req_mod()
1129 D_ASSERT(device, req->master_bio->bi_rw & REQ_FLUSH); in drbd_process_write_request()
[all …]
Ddrbd_debugfs.c58 seq_printf(m, "\tmaster: %s", req->master_bio ? "pending" : "completed"); in seq_print_request_state()
341 if (req->master_bio == NULL) in seq_print_resource_transfer_log_summary()
Ddrbd_main.c1638 dp_flags = bio_flags_to_wire(peer_device->connection, req->master_bio->bi_rw); in drbd_send_dblock()
1663 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, p + 1); in drbd_send_dblock()
1678 err = _drbd_send_bio(peer_device, req->master_bio); in drbd_send_dblock()
1680 err = _drbd_send_zc_bio(peer_device, req->master_bio); in drbd_send_dblock()
1687 drbd_csum_bio(peer_device->connection->integrity_tfm, req->master_bio, digest); in drbd_send_dblock()
2236 struct bio *bio = req->master_bio; in do_retry()
Ddrbd_worker.c1446 if (bio_data_dir(req->master_bio) == WRITE && req->rq_state & RQ_IN_ACT_LOG) in w_restart_disk_io()
1449 drbd_req_make_private_bio(req, req->master_bio); in w_restart_disk_io()
Ddrbd_int.h317 struct bio *master_bio; /* master bio pointer */ member
Ddrbd_receiver.c1728 bio = req->master_bio; in recv_dless_read()
/drivers/md/
Dmultipath.c77 struct bio *bio = mp_bh->master_bio; in multipath_end_bh_io()
121 mp_bh->master_bio = bio; in multipath_make_request()
355 bio->bi_iter.bi_sector = mp_bh->master_bio->bi_iter.bi_sector; in multipathd()
368 *bio = *(mp_bh->master_bio); in multipathd()
Dmultipath.h26 struct bio *master_bio; member
Draid1.h133 struct bio *master_bio; member
Draid10.h103 struct bio *master_bio; member
Draid10.c297 struct bio *bio = r10_bio->master_bio; in raid_end_bio_io()
1217 r10_bio->master_bio = bio; in __make_request()
1285 r10_bio->master_bio = bio; in __make_request()
1550 r10_bio->master_bio = bio; in __make_request()
1966 if (bio == r10_bio->master_bio) { in end_sync_read()
1999 if (r10_bio->master_bio == NULL) { in end_sync_request()
2010 struct r10bio *r10_bio2 = (struct r10bio *)r10_bio->master_bio; in end_sync_request()
2592 struct bio *bio = r10_bio->master_bio; in narrow_write_error()
2690 do_sync = (r10_bio->master_bio->bi_rw & REQ_SYNC); in handle_read_error()
2699 bio = bio_clone_mddev(r10_bio->master_bio, in handle_read_error()
[all …]
Draid1.c141 r1_bio->master_bio = NULL; in r1buf_pool_alloc()
237 struct bio *bio = r1_bio->master_bio; in call_bio_endio()
271 struct bio *bio = r1_bio->master_bio; in raid_end_bio_io()
474 struct bio *mbio = r1_bio->master_bio; in raid1_end_write_request()
1148 r1_bio->master_bio = bio; in make_request()
1228 r1_bio->master_bio = bio; in make_request()
1445 r1_bio->master_bio = bio; in make_request()
2243 wbio = bio_clone_mddev(r1_bio->master_bio, GFP_NOIO, mddev); in narrow_write_error()
2357 = r1_bio->master_bio->bi_rw & REQ_SYNC; in handle_read_error()
2364 bio = bio_clone_mddev(r1_bio->master_bio, GFP_NOIO, mddev); in handle_read_error()
[all …]