[PATCH 1/1] nvme-pci: do not call nvme_write_sq_db() if the commands list is empty
Christoph Hellwig
hch at lst.de
Wed Apr 2 21:37:10 PDT 2025
On Mon, Mar 31, 2025 at 06:28:59PM +0200, Maurizio Lombardi wrote:
> nvme_submit_cmds() should check the rqlist
> before calling nvme_write_sq_db();
> if the list is empty, it must return immediately.
It would be useful for future readers to state why it is important.
Otherwise looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list