Page MenuHomeFreeBSD

D61855.1795410052.diff
No OneTemporary

Authored By
Unknown
Size
514 B
Referenced Files
None
Subscribers
None

D61855.1795410052.diff

diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
--- a/sys/cam/ctl/ctl.c
+++ b/sys/cam/ctl/ctl.c
@@ -14030,7 +14030,13 @@
break;
case CTL_IO_NVME:
case CTL_IO_NVME_ADMIN:
- ctl_nvme_set_command_aborted(&io->nvmeio);
+ /*
+ * The command might have sent an embedded
+ * completion prior to being aborted. In that
+ * case, leave its status alone.
+ */
+ if (!io->nvmeio.success_sent)
+ ctl_nvme_set_command_aborted(&io->nvmeio);
break;
default:
__assert_unreachable();

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 23, 5:00 AM (14 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41900090
Default Alt Text
D61855.1795410052.diff (514 B)

Event Timeline