Coherency of data in data relocation
First Claim
1. A method for managing data in a data storage system including a plurality of Data Storage Devices (DSDs), each of the DSDs including a plurality of zones for storing data, the method comprising:
- identifying, based on at least one attribute defined by a host, at least one data item of the data to be relocated for a garbage collection operation from a source portion of the plurality of DSDs to a destination portion of the plurality of DSDs or a location for the destination portion, wherein the source portion comprises multiple zones of the plurality of zones assigned to a logical volume and the destination portion comprises one or more zones of the plurality of zones that are outside of the logical volume;
relocating the at least one data item from the source portion to the destination portion in accordance with the identification of the at least one data item or the location for the destination portion;
determining if a change was made to a first portion of the at least one data item while relocating the at least one data item from the source portion to the destination portion;
in response to determining that the change was made to the first portion of the at least one data item during the relocating, relocating the changed first portion of the at least one data item from the source portion to the destination portion; and
designating the source portion as a new destination portion.
5 Assignments
0 Petitions
Accused Products
Abstract
At least one attribute defined by a host is used to identify data and/or a location for a destination portion for relocating data from a source portion to the destination portion. The data is relocated from the source portion to the destination portion in accordance with the identification of the data to be relocated and/or the location for the destination portion, and it is determined if a change was made to relevant data stored in the source portion while relocating the data from the source portion to the destination portion. If a change was made to relevant data stored in the source portion while relocating the data to the destination portion, the changed relevant data is relocated from the source portion to the destination portion.
482 Citations
29 Claims
-
1. A method for managing data in a data storage system including a plurality of Data Storage Devices (DSDs), each of the DSDs including a plurality of zones for storing data, the method comprising:
-
identifying, based on at least one attribute defined by a host, at least one data item of the data to be relocated for a garbage collection operation from a source portion of the plurality of DSDs to a destination portion of the plurality of DSDs or a location for the destination portion, wherein the source portion comprises multiple zones of the plurality of zones assigned to a logical volume and the destination portion comprises one or more zones of the plurality of zones that are outside of the logical volume; relocating the at least one data item from the source portion to the destination portion in accordance with the identification of the at least one data item or the location for the destination portion; determining if a change was made to a first portion of the at least one data item while relocating the at least one data item from the source portion to the destination portion; in response to determining that the change was made to the first portion of the at least one data item during the relocating, relocating the changed first portion of the at least one data item from the source portion to the destination portion; and designating the source portion as a new destination portion. - View Dependent Claims (2, 3, 4, 5, 6, 7, 22, 23, 24, 25, 26, 27, 28, 29)
-
-
8. A data storage system, comprising:
-
a host including a processor; and at least one Data Storage Device (DSD) in communication with the host, wherein each of the DSDs includes a plurality of zones configured to store data; wherein the processor is configured to; identify, based on at least one attribute defined by the host, at least one data item of the data to be relocated for a garbage collection operation from a source portion of the at least one DSD to a destination portion of the at least one DSD or a location for the destination portion, wherein the source portion comprises multiple zones of the plurality of zones assigned to a logical volume and the destination portion comprises one or more zones of the plurality of zones that are outside of the logical volume; relocate the at least one data item of the data from the source portion to the destination portion in accordance with the identification of the at least one data item or the location for the destination portion; determine if a change was made to a first portion of the at least one data item while relocating the at least one data item from the source portion to the destination portion; in response to determining that the change was made to the first portion of the at least one data item during the relocating, relocate the changed first portion of the at least one data item from the source portion to the destination portion so as to provide for coherency between the source and destination portions while allowing for changes to the data being relocated; and set the source portion as a new destination portion. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A Data Storage Device (DSD) in communication with a host, the DSD comprising:
-
at least one non-volatile memory including a plurality of zones for storing data; and a controller configured to; identify, based on at least one attribute defined by the host, at least one data item of the data to be relocated for a garbage collection operation from a source portion of the at least one non-volatile memory to a destination portion of the at least one non-volatile memory or a location for the destination portion in the at least one non-volatile memory, wherein the source portion comprises multiple zones of the plurality of zones assigned to a logical volume and the destination portion comprises one or more zones of the plurality of zones that are outside of the logical volume; relocate the at least one data item from the source portion to the destination portion in accordance with the identification of the at least one data item or the location for the destination portion; determine if a change was made to a first portion of the at least one data item while relocating the at least one data item from the source portion to the destination portion; in response to determining that the change was made to the first portion of the at least one data item during the relocating, relocate the changed first portion of the at least one data item from the source portion to the destination portion so as to provide for coherency between the source and destination portions while allowing for changes to the data being relocated; and assign the source portion as a new destination portion. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification