On 12/13/18 6:28 PM, Jianchao Wang wrote: > Hi Jens > > After commit c616cbee ( blk-mq: punt failed direct issue to dispatch > list ), we always insert request to hctx dispatch list whenever get a > BLK_STS_RESOURCE or BLK_STS_DEV_RESOURCE, this is overkill and will > harm the merging. We just need to do that for the requests that has > been through .queue_rq. > > This patch set fixes the issue above and refactors the code of issue > request directly to unify the interface and make the code clearer and > more readable. > > Please consider this patchset for 4.21.
I'll throw this through all the testing tomorrow, looks good to me. If it passes, I'll add it for 4.21. -- Jens Axboe