]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drbd: Basic refcounting for drbd_tconn
authorPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 22 Apr 2011 13:23:32 +0000 (15:23 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:49:06 +0000 (16:49 +0100)
commit9dc9fbb35733c8ea97fe9b1cfc5499c7a625805c
tree1bb4c6633fc53abf4b3464386b29aef52edb4366
parent1d041225999c6f6246494b02d8f9b405155b52e1
drbd: Basic refcounting for drbd_tconn

References hold by:
 * Each (running) drbd thread has a reference on tconn
 * Each mdev has a referenc on tconn
 * Beeing in the all_tconn list counts for one reference
 * Each after_conn_state_chg_work has a reference to tconn

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_state.c