diff options
author | Keith Busch <[email protected]> | 2021-12-13 09:08:47 -0800 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2021-12-23 11:22:45 +0100 |
commit | e4fdb2b167ed225a3793a249c4342da915940b6b (patch) | |
tree | 3fa752596bcf74d32f4325c28b2e0f2da32b4a99 /net/lapb/lapb_timer.c | |
parent | f18ee3d988157ebcadc9b7e5fd34811938f50223 (diff) |
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 <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions