Patent attributes
A data storage device is disclosed comprising a non-volatile memory comprising a plurality of memory segments. A first write command is received from a host comprising first data and a first logical block address (LBA). The first data is written to a first memory segment and the first LBA is first mapped to a first physical block address (PBA) of the first memory segment. During a garbage collection operation, the first data is copied from the first memory segment to a second memory segment and the first LBA is second mapped to a second PBA of the second memory segment. After the garbage collection operation, a read command is received from the host comprising the first LBA. A selection is made between the first and second memory segments, and at least part of the first data is read from the selected memory segment.