Patent ID: 7849253

Claim:
A data transfer control system, the system comprising: a memory element configured to store control instructions; a processing unit coupled to the memory element and configured to execute the control instructions; and a storage media interface coupled to the processing unit and configured to operate according to at least a corresponding portion of the control instructions for controlling data transfer to/from at least one non-volatile memory device, wherein the at least one non-volatile memory device comprises physical erasable-units, and wherein each physical erasable-unit comprises physical subunits; wherein the storage media interface is configured to re-write old data that was previously written to at least one physical erasable-unit corresponding to a respective logical erasable-unit on the at least one non-volatile memory device by writing new data directly to the at least one non-volatile memory device; and wherein in writing the new data directly to the at least one non-volatile memory device, the storage media interface is configured to: dynamically select two or more physical erasable-units based on a relative position of available physical subunits within the physical erasable-units; allocate the two or more physical erasable-units to the respective logical erasable-unit; and write the new data to one or more physical subunits of the two or more dynamically allocated physical erasable-units, wherein the relative position of the available physical subunits within each of the two or more dynamically allocated physical erasable-units matches a relative position of the old data within the at least one physical erasable-unit.