Patent ID: 11899978
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for aborting a command for a Peripheral Component Interconnect express (PCIe) based Non-Volatile Memory express (NVMe) Solid-State Drive (SSD), the method comprising:
receiving, by a host, an abort command in an Admin submission queue of the host to abort a target command present in an Input/Output (I/O) submission queue of the host or in an I/O queue of the NVMe SSD, wherein the abort command comprises slot information of the target command to be aborted;
updating, by the host, a tail doorbell of NVMe doorbell registers of the NVMe SSD after receiving the abort command in the Admin submission queue;
placing, by the NVMe SSD, the abort command into an Admin queue of the NVMe SSD after updating the tail doorbell of the NVMe doorbell registers by the host;
executing, by the NVMe SSD, the abort command, wherein the executing comprises:
determining, by the NVMe SSD, whether the target command has been received in the NVMe SSD;
aborting, by the NVMe SSD, the target command in response to determining that the target command has been received in the NVMe SSD;
using the slot information of the target command to be aborted for updating an I/O completion queue of the host with the target command to be aborted in response to determining that the target command has not been received;

updating, by the host, a head doorbell of the NVMe doorbell registers of the NVMe SSD after completing execution of the abort command by the NVMe SSD; and
placing, by the NVMe SSD, information in an Admin completion queue of the host after the updating of the head doorbell that indicates the aborting of the target command has completed.