From e18a7e5c12d40e8a9efce05b1f3f4a56dbc06917 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 18 Jul 2002 19:06:32 -0700 Subject: [PATCH] MD - Get multipath to use mempool Get multipath to use mempool ... rather than maintaining it's own mempool --- include/linux/raid/multipath.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'include/linux/raid') 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; -- cgit v1.2.3