summaryrefslogtreecommitdiff
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-04-24 21:43:49 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-04-25 13:26:52 +0100
commit945fa4d283a3a472186c11028f6fea1e77a91d14 (patch)
tree99af5b3623665680417a61a43f5effcfbeba903b /drivers/md/dm.h
parent08d8757a4d52d21d825b9170af36f2696d1da1a8 (diff)
dm kcopyd: remove redundant client counting
Remove client counting code that is no longer needed. Initialization and destruction is made globally from dm_init and dm_exit and is not based on client counts. Initialization allocates only one empty slab cache, so there is no negative impact from performing the initialization always, regardless of whether some client uses kcopyd or not. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r--drivers/md/dm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h
index 17f2d6a8b12..9a6023c9bc6 100644
--- a/drivers/md/dm.h
+++ b/drivers/md/dm.h
@@ -195,4 +195,7 @@ void dm_kobject_uevent(struct mapped_device *md);
int dm_dirty_log_init(void);
void dm_dirty_log_exit(void);
+int dm_kcopyd_init(void);
+void dm_kcopyd_exit(void);
+
#endif