drbd: Fixes to the new delay_probes code
authorPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 6 May 2010 13:19:30 +0000 (15:19 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 May 2010 23:28:08 +0000 (01:28 +0200)
commit162f3ec7f026784ff2e216f19147d67e2f8ccd56
treeef211a8348dc4862da7ce21c315aed2e37e8de7b
parenta8cdfd8d3bf0b6d2bbe792f5e74f54ccc6bc1d4f
drbd: Fixes to the new delay_probes code

* Only send delay_probes with protocol 93 or newer
* drbd_send_delay_probes() is called only from worker context,
  no atomic_t needed for delay_seq

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_proc.c