drbd: Ensure that an epoch contains only requests of one kind
authorPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Jan 2011 19:27:30 +0000 (20:27 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:45:42 +0000 (11:45 +0100)
commit6a35c45f890dc18c5527ac501b308058118f20e7
tree627c73d972af6905f2ab77131e4232c62d31a553
parent2deb8336d04106f215c21ad1b029e78d12033d02
drbd: Ensure that an epoch contains only requests of one kind

The assert in drbd_req.c:755 forces us to have only requests of
one kind in an epoch. The two kinds we distinguish here are:
local-only or mirrored.

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