From: Jens Axboe Date: Mon, 15 Dec 2014 15:30:26 +0000 (-0700) Subject: Revert "blk-mq: Micro-optimize bt_get()" X-Git-Tag: omap-for-v3.20/drop-legacy-3517~75^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35d37c66356eed46700e0d5db87211844d43a241;p=pandora-kernel.git Revert "blk-mq: Micro-optimize bt_get()" This reverts commit 52f7eb945f2ba62b324bb9ae16d945326a961dcf. The optimization is only really safe for a single queue, otherwise 'bs' and 'bt' can indeed change, and if we don't do a finish_wait() for each loop, we'll potentially change the wait structure and corrupt task wait list. Reported-by: Jan Kara --- Reading git-diff-tree failed