Home
last modified time | relevance | path

Searched refs:max_bio_size (Results 1 – 5 of 5) sorted by relevance

/drivers/block/drbd/
Ddrbd_main.c955 unsigned int max_bio_size; in drbd_send_sizes() local
975 max_bio_size = queue_max_hw_sectors(q) << 9; in drbd_send_sizes()
976 max_bio_size = min(max_bio_size, DRBD_MAX_BIO_SIZE); in drbd_send_sizes()
983 max_bio_size = DRBD_MAX_BIO_SIZE; /* ... multiple BIOs per peer_request */ in drbd_send_sizes()
988 max_bio_size = min(max_bio_size, DRBD_MAX_SIZE_H80_PACKET); in drbd_send_sizes()
990 max_bio_size = min(max_bio_size, DRBD_MAX_BIO_SIZE_P95); in drbd_send_sizes()
995 p->max_bio_size = cpu_to_be32(max_bio_size); in drbd_send_sizes()
Ddrbd_protocol.h310 u32 max_bio_size; /* Maximal size of a BIO */ member
Ddrbd_worker.c594 int max_bio_size; in make_resync_request() local
624 max_bio_size = queue_max_hw_sectors(device->rq_queue) << 9; in make_resync_request()
681 if (size + BM_BLOCK_SIZE > max_bio_size) in make_resync_request()
Ddrbd_nl.c1299 unsigned int max_bio_size, struct o_qlim *o) in drbd_setup_queue_param() argument
1302 unsigned int max_hw_sectors = max_bio_size >> 9; in drbd_setup_queue_param()
1311 max_hw_sectors = min(queue_max_hw_sectors(b), max_bio_size >> 9); in drbd_setup_queue_param()
Ddrbd_receiver.c4112 device->peer_max_bio_size = be32_to_cpu(p->max_bio_size); in receive_sizes()