]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dm kcopyd: remove redundant client counting
authorMikulas Patocka <mpatocka@redhat.com>
Thu, 24 Apr 2008 20:43:49 +0000 (21:43 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 25 Apr 2008 12:26:52 +0000 (13:26 +0100)
commit945fa4d283a3a472186c11028f6fea1e77a91d14
tree99af5b3623665680417a61a43f5effcfbeba903b
parent08d8757a4d52d21d825b9170af36f2696d1da1a8
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>
drivers/md/dm.c
drivers/md/dm.h
drivers/md/kcopyd.c