METHOD, DEVICE AND COMPUTER PROGRAM PRODUCT FOR FLUSHING METADATA IN MULTI-CORE SYSTEM
First Claim
1. A method of flushing metadata, comprising:
- removing a metadata identifier included in a sub-list of a first list to a corresponding sub-list of a second list, the sub-list of the first list and the corresponding sub-list of the second list being associated with the same processing unit;
removing the metadata identifiers from the corresponding sub-list of the second list to a third list based on a storage position of the metadata identifier; and
determining metadata to be flushed from the third list to a metadata repository.
5 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure provide a method, device and computer program product for flushing metadata in a multi-core system. The method comprises: moving a metadata identifier included in a sub-list of a first list to a corresponding sub-list of a second list, the sub-list of the first list and the corresponding sub-list of the second list being associated with the same processing unit; moving the metadata identifier from the corresponding sub-list of the second list to a third list based on a storage position of the metadata identifier; and determining metadata to be flushed from the third list to a metadata repository. By means of the method and device for flushing metadata as proposed in the present disclosure, metadata synchronization contention can be reduced, IO efficiency can be improved, response time can be decreased, and the cache hit can be increased.
-
Citations
15 Claims
-
1. A method of flushing metadata, comprising:
-
removing a metadata identifier included in a sub-list of a first list to a corresponding sub-list of a second list, the sub-list of the first list and the corresponding sub-list of the second list being associated with the same processing unit; removing the metadata identifiers from the corresponding sub-list of the second list to a third list based on a storage position of the metadata identifier; and determining metadata to be flushed from the third list to a metadata repository. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A device of flushing metadata, comprising:
-
at least one processor; and a memory coupled to the at least one processor and comprising instructions stored thereon, the instructions, when executed by the at least one processor, causing the device to perform acts comprising; removing a metadata identifier included in a sub-list of a first list to a corresponding sub-list of a second list, the sub-list of the first list and the corresponding sub-list of the second list being associated with the same processing unit; removing the metadata identifiers from the corresponding sub-list of the second list to a third list based on a storage position of the metadata identifier; and determining metadata to be flushed from the third list to a metadata repository. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer program product being tangibly stored on a non-transient computer readable medium and comprising machine executable instructions which, when executed, cause a machine to perform steps of:
-
removing a metadata identifier included in a sub-list of a first list to a corresponding sub-list of a second list, the sub-list of the first list and the corresponding sub-list of the second list being associated with the same processing unit; removing the metadata identifiers from the corresponding sub-list of the second list to a third list based on a storage position of the metadata identifier; and determining metadata to be flushed from the third list to a metadata repository. - View Dependent Claims (12, 13, 14, 15)
-
Specification