summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-10-22 20:32:58 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-12-29 08:28:46 +0100
commit1b4344986926da324b5cd10b683e5a1a5e1b7db3 (patch)
treef196fad09555f32e4464df2ea4c8fea17ad99e76 /include/linux
parent7ff9345ffac56743b5001561bc2dc1e041b79149 (diff)
downloadlinux-3.10-1b4344986926da324b5cd10b683e5a1a5e1b7db3.tar.gz
linux-3.10-1b4344986926da324b5cd10b683e5a1a5e1b7db3.tar.bz2
linux-3.10-1b4344986926da324b5cd10b683e5a1a5e1b7db3.zip
bio: move the slab pointer inside the bio_set
In preparation for adding differently sized bios. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/bio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h
index d76e4bf22f2..9340098d75d 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -400,6 +400,7 @@ static inline void bio_set_completion_cpu(struct bio *bio, unsigned int cpu)
#define BIOVEC_MAX_IDX (BIOVEC_NR_POOLS - 1)
struct bio_set {
+ struct kmem_cache *bio_slab;
mempool_t *bio_pool;
#if defined(CONFIG_BLK_DEV_INTEGRITY)
mempool_t *bio_integrity_pool;