[PATCH 0/2] avoid possible double completions for the same request
Ye Bin
yebin at huaweicloud.com
Mon Jun 8 04:34:23 PDT 2026
From: Ye Bin <yebin10 at huawei.com>
This patchset fix possible double completions for the same request.
Refer to the comit f1342709d18a ("scsi: no longer depend on blk-mq for
double completion") to implement a mechanism that does not rely on the
block layer.
Ye Bin (2):
nvme: operate nvme_request->flags with atomic api
nvme: avoid possible double completions for the same request
drivers/nvme/host/apple.c | 4 ++--
drivers/nvme/host/core.c | 13 ++++++++++---
drivers/nvme/host/fc.c | 2 +-
drivers/nvme/host/ioctl.c | 4 ++--
drivers/nvme/host/multipath.c | 12 ++++++------
drivers/nvme/host/nvme.h | 13 ++++++++-----
drivers/nvme/host/pci.c | 11 ++++++-----
7 files changed, 35 insertions(+), 24 deletions(-)
--
2.34.1
More information about the Linux-nvme
mailing list