Invention Grant
US08504792B2 Methods and apparatuses to allocate file storage via tree representations of a bitmap
有权
通过位图的树表示来分配文件存储的方法和装置
- Patent Title: Methods and apparatuses to allocate file storage via tree representations of a bitmap
- Patent Title (中): 通过位图的树表示来分配文件存储的方法和装置
-
Application No.: US12645364Application Date: 2009-12-22
-
Publication No.: US08504792B2Publication Date: 2013-08-06
- Inventor: Eric Brandon Tamura , David Alexander Majnemer
- Applicant: Eric Brandon Tamura , David Alexander Majnemer
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Womble Carlyle Sandridge & Rice LLP
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F13/00 ; G06F13/28 ; G06F7/00 ; G06F17/30

Abstract:
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.
Public/Granted literature
- US20110153976A1 METHODS AND APPARATUSES TO ALLOCATE FILE STORAGE VIA TREE REPRESENTATIONS OF A BITMAP Public/Granted day:2011-06-23
Information query