From: Lars Ellenberg Date: Thu, 11 Nov 2010 14:19:07 +0000 (+0100) Subject: drbd: properly use max_hw_sectors to limit the our bio size X-Git-Tag: v2.6.39-rc1~37^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1816a2b47afae838e53a177d5d166cc7be97d6b5;p=pandora-kernel.git drbd: properly use max_hw_sectors to limit the our bio size To ease tracking of bios in some hash tables, we want it to not cross certain boundaries (128k, used to be 32k). We limit the maximum bio size using queue parameters. Historically some defines and variables we use there have been named max_segment_size, which was misguided. Rename them to max_bio_size, and use [blk_]queue_max_hw_sectors where appropriate. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed