diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2008-04-24 22:43:49 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2008-04-25 14:26:52 +0200 |
commit | 945fa4d283a3a472186c11028f6fea1e77a91d14 (patch) | |
tree | 99af5b3623665680417a61a43f5effcfbeba903b /drivers/md/dm.h | |
parent | dm kcopyd: private mempool (diff) | |
download | linux-945fa4d283a3a472186c11028f6fea1e77a91d14.tar.xz linux-945fa4d283a3a472186c11028f6fea1e77a91d14.zip |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h index 17f2d6a8b124..9a6023c9bc6b 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 |