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)
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

Simple merge
Simple merge
Simple merge