]> git.baikalelectronics.ru Git - kernel.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)
commit289b894ab09325b286f34809d4a617436db1382b
tree99af5b3623665680417a61a43f5effcfbeba903b
parentdd2003337b48c7a327d78a246707c132dd2ec637
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