summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_main.c
diff options
context:
space:
mode:
authorLars Ellenberg2011-04-24 20:52:20 +0200
committerPhilipp Reisner2012-11-08 16:49:05 +0100
commitf5e2b8b3b6bed8c60103b4ed5341af072129d7c0 (patch)
tree11dde69cbbead3461ba2d8588a72a1def929b7e3 /drivers/block/drbd/drbd_main.c
parentdrbd: cmdname() enum to string convertion was missing a few constants (diff)
downloadkernel-qcow2-linux-f5e2b8b3b6bed8c60103b4ed5341af072129d7c0.tar.gz
kernel-qcow2-linux-f5e2b8b3b6bed8c60103b4ed5341af072129d7c0.tar.xz
kernel-qcow2-linux-f5e2b8b3b6bed8c60103b4ed5341af072129d7c0.zip
drbd: move comment about stopping the receiver thread to where it belongs
When the last volume of a replication group is unconfigured, the worker thread exits. To not interfere with cleanup of other threads, before the the last cleanups run, we need to make sure the receiver has already exited. The commend explaining that clearly belongs above drbd_thread_stop(&tconn->receiver), not in the cleanup loop below. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
0 files changed, 0 insertions, 0 deletions