drbd: Improve compatibility with drbd's older than 8.3.7
authorPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 30 Jun 2011 13:43:06 +0000 (15:43 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:49 +0000 (16:57 +0100)
commit2ffca4f3ee6c2d507c39689e5f569bcb0612d3ad
tree93ad00a897ba69a66d4a8919b92927e81ff24136
parentd942ae44537669418a7cbfd916531d30513dbca8
drbd: Improve compatibility with drbd's older than 8.3.7

Regression introduced with 8.3.11 commit:
drbd: Take a more conservative approach when deciding max_bio_size

Never ever tell an older drbd, that we support more than 32KiB
in a single data request (packet).
Never believe an older drbd, that is supports more than 32KiB
in a single data request (packet)

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