发明授权
- 专利标题: Method, system and program products for managing changed data of castout classes
- 专利标题(中): 用于管理变更数据的方法,系统和程序产品
-
申请号: US09251888申请日: 1999-02-19
-
公开(公告)号: US06230243B1公开(公告)日: 2001-05-08
- 发明人: David Arlen Elko , Jeffrey W. Josten , Jeffrey M. Nick , David H. Surman , Wendell W. Wilkinson
- 申请人: David Arlen Elko , Jeffrey W. Josten , Jeffrey M. Nick , David H. Surman , Wendell W. Wilkinson
- 主分类号: G06F1200
- IPC分类号: G06F1200
摘要:
Changed data of castout classes of a coupling facility cache are managed in order to be able to efficiently determine the age of the oldest changed data in the cache. A directory entry representing a changed datum is placed in a data structure corresponding to the castout class of the changed datum. The data structure includes an order queue ordered by timestamps and a process queue, having an ordered portion and an unordered portion. When the directory entry is to be added to the data structure, an attempt is first made to place the entry on the order queue. If the entry is not placed on the order queue within a predefined amount of time, then the entry is placed on the process queue, the order of which is maintained by background tasks. In order to return the oldest entry of the data structure, the smallest entry of the process queue is determined and that entry is then compared to the smallest entry of the order queue. The smaller of those two entries corresponds to the oldest entry for the castout class.
信息查询