Invention Grant
- Patent Title: Method and apparatus for writing metadata into cache
-
Application No.: US15867120Application Date: 2018-01-10
-
Publication No.: US10409502B2Publication Date: 2019-09-10
- Inventor: Futang Huang
- 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: Fish & Richardson P.C.
- Priority: CN201510568241 20150908
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F3/06 ; G06F12/08 ; G06F12/084 ; G06F12/02 ; G06F12/0815 ; G06F12/0866

Abstract:
An example method and an example apparatus for writing data into a cache are described herein. The example method includes receiving an IO request write command, where the IO request write command includes metadata of to-be-written data. A first buddy group is obtained from a global buddy queue, and a determination as to whether all metadata of the to-be-written data can be written into the first buddy group is made. If the determination is yes, all the metadata of the to-be-written data is written into the first buddy group, and all the metadata of the to-be-written data is written into a metadata block corresponding to a metadata group to which the first buddy group belongs.
Public/Granted literature
- US20180129429A1 METHOD AND APPARATUS FOR WRITING DATA INTO CACHE Public/Granted day:2018-05-10
Information query