A method for aborting a command for PCIe based NVMe SSD includes receiving an abort command in an Admin submission queue to abort a target command present in an I/O submission queue of host or in an I/O queue of the NVMe SSD and updating a tail doorbell of NVMe doorbell registers of the NVMe SSD after receiving the abort command. The abort command includes a slot of the target command to be aborted. Thereafter, the method includes placing the abort command into an Admin queue of the NVMe SSD and executing the abort command using the slot of the target command to be aborted by updating an I/O completion queue of the host with the target command to be aborted. The method further includes updating a head doorbell of the doorbell registers of the NVMe SSD and updating the abort command in an Admin completion queue of the host.
Legal claims defining the scope of protection, as filed with the USPTO.
2. The method of claim 1, wherein the slot information comprises slot index of the I/O submission queue of the host where the target command to be aborted is placed.
3. The method of claim 1, wherein the slot information comprises slot index of the I/O queue of the NVMe SSD where the target command to be aborted is placed.
7. The system as claimed in claim 6, wherein the slot information comprises slot index of the I/O submission queue of the host.
8. The system of claim 6, wherein the slot information comprises a slot index of the I/O queue of the NVMe SSD where the target command to be aborted is placed.
12. The method of claim 11, further comprising updating, by the host, a second register of the NVMe SSD after determining from the I/O completion queue that execution of the target command has been aborted.
13. The method of claim 11, wherein an I/O command scheduled to next access the NVMe SSD is delayed until execution of the abort commands command completes.
14. The method of claim 11, further comprises setting a slot of the Admin completion queue associated with the abort command to indicate that the target command has been aborted.
15. The method of claim 11, wherein the first queue is an I/O submission queue of the host.
16. The method of claim 11, wherein the second queue is an I/O queue of the NVMe SSD.
17. The method of claim 11, wherein the executing of the abort command is delayed until after an I/O command currently accessing the NVMe SSD completes.
18. The method of claim 17, further comprising the NVMe SSD updating the I/O completion queue of the host to indicate the I/O command has completed.
19. The method of claim 18, further comprising the host updating a second register of the NVMe SSD after determining from the I/O completion queue that execution of the I/O command has completed.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
March 30, 2022
February 13, 2024
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.