On 4/4/19 11:06 PM, Christoph Hellwig wrote:
On Thu, Apr 04, 2019 at 10:08:43AM -0700, Bart Van Assche wrote:
blk_mq_try_issue_directly() can return BLK_STS*_RESOURCE for requests that
have been queued. If that happens when blk_mq_try_issue_directly() is called
by the dm-mpath driver then dm-mpath will try to resubmit a request that is
already queued and a kernel crash follows. Since it is nontrivial to fix
blk_mq_request_issue_directly(), revert the blk_mq_request_issue_directly()
changes that went into kernel v5.0.
And what are we going to do about 5.1+?
Hi Christoph,
This patch was developed and tested on my setup against Jens' for-next
branch. So this patch should apply fine on kernel v5.1-rc3.
Bart.