forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
structures
shentino edited this page Jul 22, 2013
·
11 revisions
- Volume
- Physical structures
- Superblock
- Pointer to root of itree
- Pointer to root of otree
- Pointer to head of log chain
- Log chain (linked list)
- itree (b+tree)
- inode (indexed by inum)
- attribute list (serial encoding of some sort)
- inode attributes
- fixed length attributes
- ctime
- mtime
- atime
- link count
- pointer to root of dtree
- variable length attributes
- xattrs (structure unknown)
- dtree (b+tree)
- extent (indexed by offset)
- otree (b+tree)
- inum
- Virtual structures
- inum allocation bitmap (sparse file)
- block allocation bitmap (sparse file)
Log chain, itree, otree
Chain of log blocks
b+tree of inodes indexed by inum
inode information, dtree
b+tree of data extents indexed by logical offset
b+tree of orphan inodes, indexed by inum
sparse file containing bitmap of inum allocation
sparse file containing bitmap of block allocation