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.
外部リソース