drbd: don't pointlessly queue bitmap send, if we lost connection
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 20 Jan 2011 09:47:53 +0000 (10:47 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:47:55 +0000 (11:47 +0100)
commit54b956abef2c1ab339fd01792e69e4a921a5e487
treee489b7742b99e8cfda55d75dc4675d3f00c40af0
parent194bfb32dba8345a7e0f83e9b1ee965e14d4b679
drbd: don't pointlessly queue bitmap send, if we lost connection

This is a minor optimization and cleanup,
and also considerably reduces some harmless (but noisy) race with
the connection cleanup code.

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