-
公开(公告)号:US11327939B2
公开(公告)日:2022-05-10
申请号:US16481077
申请日:2018-01-24
Applicant: ZTE CORPORATION
Inventor: Shengmei Luo , Jiwu Shu , Youyou Lu , Hongzhang Yang
IPC: G06F16/22 , G06F12/0868 , G06F12/0882 , G06F12/0804
Abstract: A method for indexing dirty data in a storage system page includes: obtaining a point quantity of storage points in the storage page and dirty data distribution information; creating a bitmap based on the point quantity and dirty data distribution information; creating an extended segment set based on the dirty data distribution information, and obtaining the number of current extended segments in the extended segment set; obtaining, according to the point quantity, a first storage cost for indexing dirty data using the bitmap in the target storage page; obtaining, according to the number of current extended segments and the segment capacity, a second storage cost for indexing dirty data using the extended segments in the target storage page; and determine, according to the first storage cost and the second storage cost, to index the dirty data in the target storage page by means of the bitmap or the extended segments.