drbd: fix for spin_lock_irqsave in endio callback
authorLars Ellenberg <lars.ellenberg@linbit.com>
Sat, 13 Nov 2010 19:42:29 +0000 (20:42 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 27 Nov 2010 18:50:43 +0000 (19:50 +0100)
commita115413de13ae6beb0cbfc198afe385a261ab284
tree45afb2173a442b8524cf70fc6b50eee80437c68a
parentc13f7e1a94007c4381814e7daf033e3e8f0663f3
drbd: fix for spin_lock_irqsave in endio callback

In commit 9b7f76dc37919ea36caa9680a3f765e5b19b25fb,
 Author: Lars Ellenberg <lars.ellenberg@linbit.com>
 Date:   Wed Aug 11 23:40:24 2010 +0200

    drbd: new configuration parameter c-min-rate

a bad chunk slipped through, which is now reverted as well,
restoring the correct irqsave for the endio callback.

This patch also add comments at both req_mod()
and in the endio callback so it should not happen again.

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