Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_int.h1326 #define DRBD_MAX_BIO_SIZE (1U << 20) macro
1327 #if DRBD_MAX_BIO_SIZE > (BIO_MAX_PAGES << PAGE_SHIFT)
1328 #error Architecture not supported: DRBD_MAX_BIO_SIZE > BIO_MAX_SIZE
Ddrbd_main.c972 max_bio_size = min(max_bio_size, DRBD_MAX_BIO_SIZE); in drbd_send_sizes()
979 max_bio_size = DRBD_MAX_BIO_SIZE; /* ... multiple BIOs per peer_request */ in drbd_send_sizes()
2135 const int number = (DRBD_MAX_BIO_SIZE/PAGE_SIZE) * drbd_minor_count; in drbd_create_mempools()
Ddrbd_receiver.c324 if (drbd_pp_vacant > (DRBD_MAX_BIO_SIZE/PAGE_SIZE) * drbd_minor_count) in drbd_free_pages()
1917 } else if (!expect(ds <= DRBD_MAX_BIO_SIZE)) in read_in_block()
2857 if (size <= 0 || !IS_ALIGNED(size, 512) || size > DRBD_MAX_BIO_SIZE) { in receive_DataRequest()
Ddrbd_worker.c672 #if DRBD_MAX_BIO_SIZE > BM_BLOCK_SIZE in make_resync_request()
Ddrbd_nl.c1385 local = min(local, DRBD_MAX_BIO_SIZE); in drbd_reconsider_queue_parameters()
1399 peer = DRBD_MAX_BIO_SIZE; in drbd_reconsider_queue_parameters()