drbd: preparation commit, pass drbd_interval to drbd_al_begin/complete_io
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 31 Mar 2011 13:18:56 +0000 (15:18 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:45:01 +0000 (16:45 +0100)
commit181286ad22bf9bfb85de625e8501285de5261b35
tree02ea5a0be7525834ed51a875d661872bd2047c60
parent85f103d88c8eb91755eb3c103e5ead2c9389e35e
drbd: preparation commit, pass drbd_interval to drbd_al_begin/complete_io

We want to avoid bio_split for bios crossing activity log boundaries.
So we may need to activate two activity log extents "atomically".
drbd_al_begin_io() needs to know more than just the start sector.

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