[PATCH] blk-mq: Take tagset lock when updaing hw queues

Jens Axboe axboe at kernel.dk
Tue May 30 11:32:59 PDT 2017


On 05/30/2017 12:39 PM, Keith Busch wrote:
> The tagset lock needs to be held when iterating the tag_list, so a
> lockdep assert was added when updating number of hardware queues. The
> drivers calling this API, however, were unaware of the new requirement,
> so are failing the assertion.
> 
> This patch takes the lock within the blk-mq function so the drivers do
> not have to be modified in order to be safe.

Thanks Keith, applied for 4.12 with the typo in the subject line fixed
up.

-- 
Jens Axboe




More information about the Linux-nvme mailing list