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

Claim 10:
11. 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 scheduled to be performed on the NVMe SSD, wherein the abort command comprises information indicating whether the target command is located in a first queue of the host or a second queue of the NVMe SSD;
updating, by the host, a first register 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 determining that the first register has been updated;
determining, by the NVMe SSD, a selected queue among the first and second queues from the information;
executing, by the NVMe SSD, the abort command, where the executing comprises:
aborting, by the NVMe SSD, the target command in response to determining the selected queue is the second queue;
updating an input/output (I/O) completion queue of the host to indicate the target command of the selected queue has been completed in response to determining the selected queue is the first queue;

updating, by the host, a head doorbell of 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.