linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] raid5-cache: destroy mempool
@ 2016-01-05  0:43 Shaohua Li
  2016-01-05  0:43 ` [PATCH 2/2] raid5-cache: correctly handle stripe with enough journal space Shaohua Li
  2016-01-06  1:50 ` [PATCH 1/2] raid5-cache: destroy mempool NeilBrown
  0 siblings, 2 replies; 5+ messages in thread
From: Shaohua Li @ 2016-01-05  0:43 UTC (permalink / raw)
  To: linux-raid; +Cc: neilb

io_unit mempool isn't destroied with recent changes.

Signed-off-by: Shaohua Li <shli@fb.com>
---
 drivers/md/raid5-cache.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/md/raid5-cache.c b/drivers/md/raid5-cache.c
index d992d62..55a905e 100644
--- a/drivers/md/raid5-cache.c
+++ b/drivers/md/raid5-cache.c
@@ -1257,6 +1257,7 @@ void r5l_exit_log(struct r5l_log *log)
 	md_unregister_thread(&log->reclaim_thread);
 	mempool_destroy(log->meta_pool);
 	bioset_free(log->bs);
+	mempool_destroy(log->io_pool);
 	kmem_cache_destroy(log->io_kc);
 	kfree(log);
 }
-- 
2.4.6


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-01-06  1:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-05  0:43 [PATCH 1/2] raid5-cache: destroy mempool Shaohua Li
2016-01-05  0:43 ` [PATCH 2/2] raid5-cache: correctly handle stripe with enough journal space Shaohua Li
2016-01-06  1:54   ` NeilBrown
2016-01-06  1:55     ` Shaohua Li
2016-01-06  1:50 ` [PATCH 1/2] raid5-cache: destroy mempool NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).