blkback.c (cf40a76e7d5874bb25f4404eecc58a2e033af885) | blkback.c (5657a819a8d94426c76be04dcedfad0f64cfff00) |
---|---|
1/****************************************************************************** 2 * 3 * Back-end of the driver for virtual block devices. This portion of the 4 * driver exports a 'unified' block-device interface that can be accessed 5 * by any operating system that implements a compatible front end. A 6 * reference front-end implementation can be found in: 7 * drivers/block/xen-blkfront.c 8 * --- 84 unchanged lines hidden (view full) --- 93 "Maximum number of hardware queues per virtual disk." \ 94 "By default it is the number of online CPUs."); 95 96/* 97 * Maximum order of pages to be used for the shared ring between front and 98 * backend, 4KB page granularity is used. 99 */ 100unsigned int xen_blkif_max_ring_order = XENBUS_MAX_RING_GRANT_ORDER; | 1/****************************************************************************** 2 * 3 * Back-end of the driver for virtual block devices. This portion of the 4 * driver exports a 'unified' block-device interface that can be accessed 5 * by any operating system that implements a compatible front end. A 6 * reference front-end implementation can be found in: 7 * drivers/block/xen-blkfront.c 8 * --- 84 unchanged lines hidden (view full) --- 93 "Maximum number of hardware queues per virtual disk." \ 94 "By default it is the number of online CPUs."); 95 96/* 97 * Maximum order of pages to be used for the shared ring between front and 98 * backend, 4KB page granularity is used. 99 */ 100unsigned int xen_blkif_max_ring_order = XENBUS_MAX_RING_GRANT_ORDER; |
101module_param_named(max_ring_page_order, xen_blkif_max_ring_order, int, S_IRUGO); | 101module_param_named(max_ring_page_order, xen_blkif_max_ring_order, int, 0444); |
102MODULE_PARM_DESC(max_ring_page_order, "Maximum order of pages to be used for the shared ring"); 103/* 104 * The LRU mechanism to clean the lists of persistent grants needs to 105 * be executed periodically. The time interval between consecutive executions 106 * of the purge mechanism is set in ms. 107 */ 108#define LRU_INTERVAL 100 109 --- 1392 unchanged lines hidden --- | 102MODULE_PARM_DESC(max_ring_page_order, "Maximum order of pages to be used for the shared ring"); 103/* 104 * The LRU mechanism to clean the lists of persistent grants needs to 105 * be executed periodically. The time interval between consecutive executions 106 * of the purge mechanism is set in ms. 107 */ 108#define LRU_INTERVAL 100 109 --- 1392 unchanged lines hidden --- |