Patent ID: 11934695
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. A storage device, comprising:
a memory comprising a plurality of memory dies; and
one or more processors coupled to the memory, the one or more processors, individually or in combination, configured to:
receive one or more host write commands from a host device;
determine that the one or more host write commands comprise unaligned host write commands;
mark the unaligned host write commands as aligned write commands, wherein to mark includes that, for each respective one of the unaligned host write commands, one or more parameters of the respective one of the unaligned host write commands are adjusted to generate a respective aligned write command including a same amount of corresponding host data as the respective one of the unaligned host write commands, the unaligned host write commands being marked prior to fetching of pre-pad data or post-pad data to generate aligned data for the aligned write commands;
generate unaligned information associated with the unaligned write commands, the unaligned information indicating offset information for the each of the unaligned host write commands;
accumulate the aligned write commands in an aggregation command queue;
determine whether the aggregation command queue has accumulated a transfer size of the aligned write commands that corresponds to a threshold size of aggregated command transfer sizes;
fetch one or more of the pre-pad data or the post-pad data for each of the unaligned host write commands in parallel when the aggregation command queue has accumulated the transfer size of the aligned write commands that corresponds to the threshold size of aggregated command transfer sizes;
transfer host data for each of the unaligned write commands to a data buffer at a corresponding offset within the data buffer based on the unaligned information;
combine the one or more of the pre-pad data or the post-pad data with the host data to generate the aligned data; and
program the aligned data into at least one of the plurality of memory dies.