发明授权
US08504792B2 Methods and apparatuses to allocate file storage via tree representations of a bitmap
有权
通过位图的树表示来分配文件存储的方法和装置
- 专利标题: Methods and apparatuses to allocate file storage via tree representations of a bitmap
- 专利标题(中): 通过位图的树表示来分配文件存储的方法和装置
-
申请号: US12645364申请日: 2009-12-22
-
公开(公告)号: US08504792B2公开(公告)日: 2013-08-06
- 发明人: Eric Brandon Tamura , David Alexander Majnemer
- 申请人: Eric Brandon Tamura , David Alexander Majnemer
- 申请人地址: US CA Cupertino
- 专利权人: Apple Inc.
- 当前专利权人: Apple Inc.
- 当前专利权人地址: US CA Cupertino
- 代理机构: Womble Carlyle Sandridge & Rice LLP
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; G06F13/00 ; G06F13/28 ; G06F7/00 ; G06F17/30
摘要:
Methods and apparatuses that search tree representations of a bitmap for available blocks to allocate in storage devices are described. An allocation request for a file may be received to initiate the search. In one embodiment, the bitmap may include an array of bits corresponding to blocks in the storage devices. Each bit may indicate whether one of the blocks is available. The tree representations may include at least one red-black tree having nodes corresponding to one or more consecutive bits in the bitmap indicating an extent of available blocks. One of the tree representations may be selected according to a file associated with an allocation request to identify an extent of available block matching the allocation request. The tree representations may be synchronized as the bitmap is updated with changes of block allocations in the storage devices.
公开/授权文献
信息查询