summaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2002-07-18 19:06:32 -0700
committerTrond Myklebust <trond.myklebust@fys.uio.no>2002-07-18 19:06:32 -0700
commite18a7e5c12d40e8a9efce05b1f3f4a56dbc06917 (patch)
treea6fd5a9ab84d4020f70f3b5c32149ce0164f609e /include/linux/raid
parent663c6269e45b7fd12b4caf141ca6fdca16ed6c21 (diff)
[PATCH] MD - Get multipath to use mempool
Get multipath to use mempool ... rather than maintaining it's own mempool
Diffstat (limited to 'include/linux/raid')
-rw-r--r--include/linux/raid/multipath.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/linux/raid/multipath.h b/include/linux/raid/multipath.h
index e4f3e6189b7b..657eb913adba 100644
--- a/include/linux/raid/multipath.h
+++ b/include/linux/raid/multipath.h
@@ -27,16 +27,7 @@ struct multipath_private_data {
struct multipath_info *spare;
spinlock_t device_lock;
- /* buffer pool */
- /* buffer_heads that we have pre-allocated have b_pprev -> &freebh
- * and are linked into a stack using b_next
- * multipath_bh that are pre-allocated have MPBH_PreAlloc set.
- * All these variable are protected by device_lock
- */
- struct multipath_bh *freer1;
- int freer1_blocked;
- int freer1_cnt;
- wait_queue_head_t wait_buffer;
+ mempool_t *pool;
};
typedef struct multipath_private_data multipath_conf_t;