Searched refs:DRBD_MAX_BIO_SIZE (Results 1 – 5 of 5) sorted by relevance
1258 #define DRBD_MAX_BIO_SIZE (1U << 20) macro1259 #if DRBD_MAX_BIO_SIZE > (BIO_MAX_VECS << PAGE_SHIFT)1260 #error Architecture not supported: DRBD_MAX_BIO_SIZE > BIO_MAX_SIZE
926 max_bio_size = min(max_bio_size, DRBD_MAX_BIO_SIZE); in drbd_send_sizes()952 max_bio_size = DRBD_MAX_BIO_SIZE; /* ... multiple BIOs per peer_request */ in drbd_send_sizes()2090 const int number = (DRBD_MAX_BIO_SIZE/PAGE_SIZE) * drbd_minor_count; in drbd_create_mempools()
325 if (drbd_pp_vacant > (DRBD_MAX_BIO_SIZE/PAGE_SIZE) * drbd_minor_count) in drbd_free_pages()1892 } else if (!expect(peer_device, ds <= DRBD_MAX_BIO_SIZE)) in read_in_block()2822 if (size <= 0 || !IS_ALIGNED(size, 512) || size > DRBD_MAX_BIO_SIZE) { in receive_DataRequest()
669 #if DRBD_MAX_BIO_SIZE > BM_BLOCK_SIZE in make_resync_request()
1216 return DRBD_MAX_BIO_SIZE; in drbd_max_peer_bio_size()1284 new = min3(DRBD_MAX_BIO_SIZE, device->local_max_bio_size, in drbd_reconsider_queue_parameters()