Re: [PATCH 0/3] Fix blk_mq_end_request() and blk_end_request() for WRITE SAME

Martin K. Petersen
2018-06-26T15:53:05Z

Hi Bart,

> This series of three patches fixes a crash in the block layer core
> that I encountered while retesting the SRP tests in blktests. Please
> consider these patches for kernel v4.19.

Patches 1 and 2 look fine. However, I'm not sure I'm so keen on patch
3. It looks like it's papering over a more fundamental issue.

Can you elaborate a bit on why the existing code fails with dm in the
mix?

--
Martin K. Petersen Oracle Linux Engineering