drbd: always use_bmbv, ignore setting
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 14 May 2010 17:16:41 +0000 (19:16 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 18 May 2010 00:03:05 +0000 (02:03 +0200)
commita1c88d0d7aa2ef427f78834c9a3b0a673a19dca6
treebe62930616401a30e3d4784a109c001323d4470a
parentbb3d000cb99aa0924b78c1ae5f5943484527868a
drbd: always use_bmbv, ignore setting

Now that the peer may handle multi-bio EEs,
we can ignore the peer's limit,
and concentrate on the limits of the local IO stack.

This is safe accross drbd protocol versions,
as our queue_max_sectors() will be adjusted accordingly.

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