发明名称 Write command overlap detection
摘要 The present disclosure includes methods and apparatuses that include write command overlap detection. A number of embodiments include receiving an incoming write command and comparing a logical address of the incoming write command to logical addresses of a number of write commands in a queue using a tree data structure, wherein a starting logical address and/or an ending logical address of the incoming write command and a starting logical address and/or an ending logical address of each of the number of write commands are associated with nodes in the tree data structure.
申请公布号 US9116625(B2) 申请公布日期 2015.08.25
申请号 US201213469429 申请日期 2012.05.11
申请人 Micron Technology, Inc. 发明人 Palmer David A.
分类号 G06F9/34;G06F3/06 主分类号 G06F9/34
代理机构 Brooks, Cameron & Huebsch, PLLC 代理人 Brooks, Cameron & Huebsch, PLLC
主权项 1. A method for write command overlap detection in a memory system, comprising: creating a tree data structure comprising a first number of nodes, each of the first number of nodes being associated with a starting logical address and/or an ending logical address of a write command in a queue of write commands, wherein the tree data structure is created in response to the number of write commands in the queue reaching a first threshold number; placing a second number of nodes associated with a starting logical address and/or an ending logical address of an incoming write command in the tree data structure; comparing a node of the second number of nodes that is associated with a starting logical address of the incoming write command to an in-numerical-order predecessor node of the first number of nodes; comparing the node of the second number of nodes that is associated with a starting logical address of the incoming write command to an in-numerical-order successor node of the first number of nodes; comparing a node of the second number of nodes that is associated with an ending logical address of the incoming write command to an in-numerical-order successor node of the first number of nodes; removing the placed second number of nodes associated with the starting logical address and/or the ending logical address of the incoming write command from the tree data structure in response to the logical address of the incoming write command overlapping with a logical address of a write command in the queue; placing the incoming write command in the queue if the in-numerical-order predecessor node is an end node or a start/end node, the in-numerical-order successor node of the node associated with the starting logical address of the incoming write command is the node associated with the ending logical address of the incoming write command, and the in-numerical-order successor node of the node associated with the ending logical address is a start node or a start/end node; executing a portion of the number of command in the queue; and discontinuing use of the tree data structure and performing a linear comparison of the number of write commands in the queue in response to the number of write commands in the queue reaching a second threshold number.
地址 Boise ID US