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

/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_protocol.h242 u32 max_bio_size; /* Maximal size of a BIO */ member in struct:p_sizes
H A Ddrbd_main.c929 unsigned int max_bio_size; drbd_send_sizes() local
938 max_bio_size = queue_max_hw_sectors(device->ldev->backing_bdev->bd_disk->queue) << 9; drbd_send_sizes()
939 max_bio_size = min(max_bio_size, DRBD_MAX_BIO_SIZE); drbd_send_sizes()
945 max_bio_size = DRBD_MAX_BIO_SIZE; /* ... multiple BIOs per peer_request */ drbd_send_sizes()
954 max_bio_size = min(max_bio_size, DRBD_MAX_SIZE_H80_PACKET); drbd_send_sizes()
956 max_bio_size = min(max_bio_size, DRBD_MAX_BIO_SIZE_P95); drbd_send_sizes()
961 p->max_bio_size = cpu_to_be32(max_bio_size); drbd_send_sizes()
2774 This triggers a max_bio_size message upon first attach or connect */ drbd_create_device()
3044 u32 la_peer_max_bio_size; /* last peer max_bio_size */
H A Ddrbd_worker.c593 int max_bio_size; make_resync_request() local
616 max_bio_size = queue_max_hw_sectors(device->rq_queue) << 9; make_resync_request()
673 if (size + BM_BLOCK_SIZE > max_bio_size) make_resync_request()
H A Ddrbd_nl.c1126 unsigned int max_bio_size) drbd_setup_queue_param()
1129 unsigned int max_hw_sectors = max_bio_size >> 9; drbd_setup_queue_param()
1136 max_hw_sectors = min(queue_max_hw_sectors(b), max_bio_size >> 9); drbd_setup_queue_param()
1125 drbd_setup_queue_param(struct drbd_device *device, struct drbd_backing_dev *bdev, unsigned int max_bio_size) drbd_setup_queue_param() argument
H A Ddrbd_receiver.c3802 device->peer_max_bio_size = be32_to_cpu(p->max_bio_size); receive_sizes()

Completed in 197 milliseconds