发明名称 Parallel block allocation for declustered logical disks
摘要 In a method for allocating space on a logical disk, a computer receives an allocation request to allocate a number of requested logical disk extents. The computer selects one of a first group having an array of logical disk extents and a second group having an array of logical disk extents. The computer selects a group having a number of free logical disk extents that is greater than or equal to the number of requested logical disk extents. The logical disk extents in the array of the first group and in the array of the second group correspond to disk blocks on a logical disk. The logical disk spans one or more physical random access disks. The computer locks the selected group to prevent allocating a logical disk extent other than in response to the allocation request.
申请公布号 US8904106(B2) 申请公布日期 2014.12.02
申请号 US201113166415 申请日期 2011.06.22
申请人 International Business Machines Corporation 发明人 Bello Adekunle;Yedavilli Aruna
分类号 G06F12/00;G06F3/06 主分类号 G06F12/00
代理机构 代理人 Sosa Jason;Vallone Mark;Gecovich Edward
主权项 1. A method for allocating space on a logical disk, the method comprising the steps of: a computer receiving an allocation request to allocate a number of requested logical disk extents; the computer selecting one of a first group comprising an array of logical disk extents and a second group comprising an array of logical disk extents, the selected group having a number of free logical disk extents that is greater than or equal to the number of requested logical disk extents, the logical disk extents in the array of the first group and in the array of the second group corresponding to disk blocks on a logical disk, the logical disk spanning one or more physical random access disks; the computer locking the selected group to prevent allocating a logical disk extent other than in response to the allocation request; the computer allocating the number of requested logical disk extents in the selected group, starting at a first index in the array of the selected group; the computer calculating a second index in the array of the selected group, wherein the second index in the array of the selected group is equal to the sum of the number of requested logical disk extents and the first index in the array of the selected group, modulo a size of the array of the selected group; the computer moving a first pointer from the first index in the array of the selected group to the second index in the array of the selected group; and the computer releasing the lock on the selected group to allow allocating a logical disk extent other than in response to the allocation request.
地址 Armonk NY US