METHOD AND DEVICE FOR GARBAGE COLLECTION OF A ZONED STORAGE DEVICE, AND STORAGE MEDIUM
개요
출원인
Beijing Volcano Engine Technology Co., Ltd.
발명자
Jiale GAO; Zhihong GUO; Jinxin LIU; Chengyu DONG
IPC 분류
CPC 분류
Provided in examples of the disclosure are a method and device for garbage collection of a zoned storage device, and a storage medium. Valid data segments in a source zone to be collected in the zoned storage device are determined, the read valid data segments are written into cache pools, and the valid data segments in the same cache pool are aggregated into a valid aggregated data segment; and a target cache pool to be written into the zoned storage device is determined, the valid aggregated data segment in the target cache pool is written into a target zone, and storage space of the source zone is collected.
원문 (중국어)
Provided in examples of the disclosure are a method and device for garbage collection of a zoned storage device, and a storage medium. Valid data segments in a source zone to be collected in the zoned storage device are determined, the read valid data segments are written into cache pools, and the valid data segments in the same cache pool are aggregated into a valid aggregated data segment; and a target cache pool to be written into the zoned storage device is determined, the valid aggregated data segment in the target cache pool is written into a target zone, and storage space of the source zone is collected.