]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: Remove tag from process cq
authorKeith Busch <kbusch@kernel.org>
Mon, 2 Mar 2020 16:45:04 +0000 (08:45 -0800)
committerKeith Busch <kbusch@kernel.org>
Wed, 25 Mar 2020 19:48:06 +0000 (04:48 +0900)
commit7877214445d98ee3ad4f2271e4ca5419f84f7e2e
tree0c7c668453af6e3c2ceda1f49fbff2c8a5298967
parent5173ce76e88b28055ccc959e6ee3121a15d80a6f
nvme-pci: Remove tag from process cq

The only user for tagged completion was for timeout handling. That user,
though, really only cares if the timed out command is completed, which
we can safely check within the timeout handler.

Remove the tag check to simplify completion handling.

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/pci.c