1. 23 12月, 2021 2 次提交
    • G
      nvme: drop unused variable ctrl in nvme_setup_cmd · 3a605e32
      Geliang Tang 提交于
      The variable 'ctrl' became useless since the code using it was dropped
      from nvme_setup_cmd() in the commit 292ddf67bbd5 ("nvme: increment
      request genctr on completion"). Fix it to get rid of this compilation
      warning in the nvme-5.17 branch:
      
       drivers/nvme/host/core.c: In function ‘nvme_setup_cmd’:
       drivers/nvme/host/core.c:993:20: warning: unused variable ‘ctrl’ [-Wunused-variable]
         struct nvme_ctrl *ctrl = nvme_req(req)->ctrl;
                           ^~~~
      
      Fixes: 292ddf67bbd5 ("nvme: increment request genctr on completion")
      Signed-off-by: NGeliang Tang <geliang.tang@suse.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      3a605e32
    • K
      nvme: increment request genctr on completion · e4fdb2b1
      Keith Busch 提交于
      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: NKeith Busch <kbusch@kernel.org>
      Reviewed-by: NSagi Grimberg <sagi@grimberg.me>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      e4fdb2b1
  2. 29 11月, 2021 1 次提交
  3. 24 11月, 2021 2 次提交
  4. 09 11月, 2021 1 次提交
  5. 21 10月, 2021 3 次提交
  6. 20 10月, 2021 6 次提交
  7. 19 10月, 2021 1 次提交
  8. 18 10月, 2021 2 次提交
  9. 14 10月, 2021 1 次提交
  10. 28 9月, 2021 1 次提交
  11. 21 9月, 2021 1 次提交
  12. 15 9月, 2021 1 次提交
  13. 13 9月, 2021 1 次提交
  14. 06 9月, 2021 5 次提交
  15. 24 8月, 2021 1 次提交
  16. 17 8月, 2021 1 次提交
  17. 16 8月, 2021 1 次提交
  18. 15 8月, 2021 1 次提交
  19. 13 8月, 2021 2 次提交
  20. 10 8月, 2021 1 次提交
  21. 21 7月, 2021 2 次提交
  22. 01 7月, 2021 2 次提交
  23. 17 6月, 2021 1 次提交