Invention Grant
- Patent Title: Garbage data scrubbing method, and device
-
Application No.: US16754537Application Date: 2017-10-13
-
Publication No.: US11126546B2Publication Date: 2021-09-21
- Inventor: Chao Yu , Hao Chen , Bifeng Tong , Chengliang Zheng , Xiyu Zhou
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201710931551.3 20171009
- International Application: PCT/CN2017/106200 WO 20171013
- International Announcement: WO2019/071620 WO 20190418
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F16/17 ; G06F12/10

Abstract:
This application provides a garbage data scrubbing method and a device, and relates to the field of terminals, to resolve a problem that delivering a discard message in a file system transaction affects a user foreground operation. The method includes: obtaining an IO busy/idle status of a terminal at a current moment, where the IO busy/idle status includes a busy state and an idle state (S301); and if the IO busy/idle status of the terminal at the current moment is the idle state, delivering a discard message to a storage device (S302), where the discard message includes an initial address and a size of to-be-scrubbed physical space in the storage device, and the discard message is used to unbind a mapping relationship between a physical address of the to-be-scrubbed physical space and a corresponding logical address.
Public/Granted literature
- US20200349069A1 Garbage Data Scrubbing Method, and Device Public/Granted day:2020-11-05
Information query