Keith Busch e4fdb2b167 nvme: increment request genctr on completion
The nvme request generation counter is intended to catch duplicate
completions. Incrementing the counter on submission means duplicates can
only be caught if the request tag is reallocated and dispatched prior to
the driver observing the corrupted CQE. Incrementing on completion
removes this window, making it possible to detect duplicate completions
in consecutive entries.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-12-23 11:22:45 +01:00
..
2021-10-20 19:16:02 +02:00
2021-11-01 09:27:38 -07:00
2021-08-14 15:54:09 -06:00
2021-08-14 15:54:09 -06:00
2021-11-01 09:27:38 -07:00
2021-08-16 14:42:23 +02:00