[PATCH] nvme: don't flush scan work with non-idle request

Christoph Hellwig hch at lst.de
Sun Aug 21 07:40:39 PDT 2022


With this the flush_work is lost for the target passthrough case.

I also don't really like the double call to nvme_command_effects().

What about just removing nvme_execute_passthru_rq() and open coding
it in the two calles, with the nvme_passthru_end call moved until
after freeing the request?



More information about the Linux-nvme mailing list