Re: [PATCH] blk-mq: don't insert FUA request with data into scheduler queue

Jens Axboe
2021-11-19T13:28:37Z

On Thu, 18 Nov 2021 23:30:41 +0800, Ming Lei wrote:
> We never insert flush request into scheduler queue before.
>
> Recently commit d92ca9d8348f ("blk-mq: don't handle non-flush requests in
> blk_insert_flush") tries to handle FUA data request as normal request.
> This way has caused warning[1] in mq-deadline dd_exit_sched() or io hang in
> case of kyber since RQF_ELVPRIV isn't set for flush request, then
> ->finish_request won't be called.
>
> [...]

Applied, thanks!

[1/1] blk-mq: don't insert FUA request with data into scheduler queue
commit: 2b504bd4841bccbf3eb83c1fec229b65956ad8ad

Best regards,
--
Jens Axboe