aboutsummaryrefslogtreecommitdiff
path: root/drivers/message/i2o/i2o_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message/i2o/i2o_block.h')
-rw-r--r--drivers/message/i2o/i2o_block.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/message/i2o/i2o_block.h b/drivers/message/i2o/i2o_block.h
index 9e1a95fb083..e45cc40ce38 100644
--- a/drivers/message/i2o/i2o_block.h
+++ b/drivers/message/i2o/i2o_block.h
@@ -56,6 +56,12 @@
#define I2O_BLOCK_RETRY_TIME HZ/4
#define I2O_BLOCK_MAX_OPEN_REQUESTS 50
+/* request queue sizes */
+#define I2O_BLOCK_REQ_MEMPOOL_SIZE 32
+
+#define KERNEL_SECTOR_SHIFT 9
+#define KERNEL_SECTOR_SIZE (1 << KERNEL_SECTOR_SHIFT)
+
/* I2O Block OSM mempool struct */
struct i2o_block_mempool {
kmem_cache_t *slab;