US 12,013,796 B2
Storage controller managing completion timing, and operating method thereof
Sangmuk Hwang, Jeonju-si (KR); Jaegeun Park, Suwon-si (KR); Hojun Shim, Seongnam-si (KR); and Byungchul Yoo, Seongnam-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on May 24, 2022, as Appl. No. 17/751,798.
Application 17/751,798 is a division of application No. 16/983,471, filed on Aug. 3, 2020, granted, now 11,366,770.
Claims priority of application No. 10-2019-0172650 (KR), filed on Dec. 23, 2019.
Prior Publication US 2022/0283962 A1, Sep. 8, 2022
Int. Cl. G06F 13/16 (2006.01); G06F 13/28 (2006.01)
CPC G06F 13/1642 (2013.01) [G06F 13/161 (2013.01); G06F 13/1689 (2013.01); G06F 13/28 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A storage device comprising:
a nonvolatile memory device; and
a controller configured to receive a first submission queue doorbell and a second submission queue doorbell from an external device, and to fetch a first command in response to the first submission queue doorbell and fetch a second command in response to the second submission queue doorbell,
wherein the first command includes a first latency, and the second command includes a second latency,
the controller is configured to determine a first timing to write a first completion into the external device based on the first latency and a second timing to write a second completion into the external device based on the second latency, the first completion indicating that the first command is completely processed, the second completion indicating that the second command is completely processed, and
the controller is configured to determine an order that the controller processes the first command and the second command based on the first latency and the second latency.