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>
Wed, 9 May 2012 08:08:57 +0000 (10:08 +0200)
commit6809384c7152c34e74e29a4033826a300eb94f11
tree814cd296ad8e8ca958d5ebc1571eec581c6062de
parent77e8fdfc188f0490754f703f80d2853c69052c12
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_main.c
drivers/block/drbd/drbd_nl.c