Commit 7a3cdc64 authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] md: Export bio_split_pool for md to use.

parent a9be82a1
......@@ -38,7 +38,7 @@ static kmem_cache_t *bio_slab;
* basically we just need to survive
*/
#define BIO_SPLIT_ENTRIES 8
static mempool_t *bio_split_pool;
mempool_t *bio_split_pool;
struct biovec_pool {
int nr_vecs;
......@@ -916,3 +916,4 @@ EXPORT_SYMBOL(bio_map_user);
EXPORT_SYMBOL(bio_unmap_user);
EXPORT_SYMBOL(bio_pair_release);
EXPORT_SYMBOL(bio_split);
EXPORT_SYMBOL(bio_split_pool);
......@@ -222,6 +222,7 @@ struct bio_pair {
};
extern struct bio_pair *bio_split(struct bio *bi, mempool_t *pool,
int first_sectors);
extern mempool_t *bio_split_pool;
extern void bio_pair_release(struct bio_pair *dbio);
extern struct bio *bio_alloc(int, int);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment