Patent ID: 9626247
Date: 2017-04-18
CPC Classifications: G06F

Claim:
1. A method for asymmetrically scheduling buffer cache of disk array, the method comprising: (1) detecting whether access from a upper layer is hit in a buffer cache, proceeding to (7) if yes, and proceeding to (2) if no; (2) detecting whether said buffer cache is full, proceeding to (3) if yes, and proceeding to (5) if no; (3) detecting whether the number of pages of a sacrificial disk is greater than a threshold, proceeding to (4) if yes, and proceeding to (6) if no, said sacrificial disk being a disk not involved in disk reconstruction; (4) selecting and replacing a cold page of said sacrificial disk; (5) buffering data requested by a user in a blank page in said buffer cache; (6) selecting and replacing all cold pages of said buffer cache; and (7) reading or writing said data, and changing positions or status thereof in pages of said buffer cache.