]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Revert "blk-mq: Micro-optimize bt_get()"
authorJens Axboe <axboe@fb.com>
Mon, 15 Dec 2014 15:30:26 +0000 (08:30 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 15 Dec 2014 15:30:26 +0000 (08:30 -0700)
commit35d37c66356eed46700e0d5db87211844d43a241
tree6bfdbddaf04501ac9edcf6c526e1e54dd00444b8
parent67e2c3883828b39548cee2091b36656787775d95
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 <jack@suse.cz>
block/blk-mq-tag.c