From: NeilBrown Date: Thu, 24 Sep 2015 05:47:47 +0000 (+1000) Subject: md/raid0: apply base queue limits *before* disk_stack_limits X-Git-Tag: v3.2.73~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1263d46df6f5f96bc6abd039684b7778a72bab3;p=pandora-kernel.git md/raid0: apply base queue limits *before* disk_stack_limits commit 66eefe5de11db1e0d8f2edc3880d50e7c36a9d43 upstream. Calling e.g. blk_queue_max_hw_sectors() after calls to disk_stack_limits() discards the settings determined by disk_stack_limits(). So we need to make those calls first. Fixes: 199dc6ed5179 ("md/raid0: update queue parameter in a safer location.") Reported-by: Jes Sorensen Signed-off-by: NeilBrown [bwh: Backported to 3.2: the code being moved looks a little different] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed