US 12,236,088 B2
Recycle optimization in storage engine
Peng Xu, Milpitas, CA (US); Yikang Xu, Redmond, WA (US); Yu Du, Hangzhou (CN); and Rui Wang, Redmond, WA (US)
Assigned to Alibaba Group Holding Limited, (KY)
Appl. No. 18/269,918
Filed by Alibaba Group Holding Limited, Grand Cayman (KY)
PCT Filed Dec. 28, 2020, PCT No. PCT/CN2020/140149
§ 371(c)(1), (2) Date Jun. 27, 2023,
PCT Pub. No. WO2022/140916, PCT Pub. Date Jul. 7, 2022.
Prior Publication US 2024/0061577 A1, Feb. 22, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0608 (2013.01) [G06F 3/0656 (2013.01); G06F 3/0659 (2013.01); G06F 3/067 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method implemented by one or more processors of a storage system, the method comprising:
performing a recycle read for a first storage device, performing the recycle read comprising:
sending a first instruction to the first storage device to transfer record data from a plurality of sectors of the first storage device to a data buffer of the first storage device; and
reading corresponding sector metadata of the plurality of sectors of the first storage device into a host memory of the storage system; and
performing a recycle write for a second storage device, performing the recycle write comprising:
sending a second instruction to the first storage device to transfer valid records of the record data in the data buffer of the first storage device to one or more new sectors of the second storage device;
creating new sector metadata for the one or more sectors in the host memory; and
transferring the new sector metadata from the host memory to the one or more new sectors of the second storage device.