ext4: add data structures for the extent status tree
authorZheng Liu <wenqing.lz@taobao.com>
Thu, 8 Nov 2012 20:18:54 +0000 (15:18 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 8 Nov 2012 20:18:54 +0000 (15:18 -0500)
commitc0677e6d0f9d991adff972b8d06cb83de1f8ee8e
treef320c2fb163763f200d0126c90fcbd909bfbedf2
parent07aa2ea13814ea60d12f7330b6d5ccfdb0c3ba4d
ext4: add data structures for the extent status tree

This patch adds two structures that supports extent status tree, extent_status
and ext4_es_tree.  Currently extent_status is used to track a delay extent for
an inode, which record the start block and the length of the delay extent.
ext4_es_tree is used to store all extent_status for an inode in memory.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents_status.h [new file with mode: 0644]