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

2017-05-30 Thread Gabriel Krisman Bertazi
Keith Busch writes: > 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. > >

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

2017-05-30 Thread Keith Busch
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