From: Yongqiang Yang <xiaoqiangnk@gmail.com>
To: linux-ext4@vger.kernel.org
Cc: jack@suse.cz, jeff.liu@oracle.com, achender@linux.vnet.ibm.com,
adityakali@google.com, Yongqiang Yang <xiaoqiangnk@gmail.com>
Subject: [RFC PATCH V2 4/6] ext4: initialize delayed extent tree
Date: Thu, 29 Sep 2011 13:08:44 +0800 [thread overview]
Message-ID: <1317272926-13303-5-git-send-email-xiaoqiangnk@gmail.com> (raw)
In-Reply-To: <1317272926-13303-1-git-send-email-xiaoqiangnk@gmail.com>
Let ext4 initialize delayed extent tree of a inode.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
---
fs/ext4/super.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 44d0c8d..247fcdd 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -882,6 +882,7 @@ static struct inode *ext4_alloc_inode(struct super_block *sb)
memset(&ei->i_cached_extent, 0, sizeof(struct ext4_ext_cache));
INIT_LIST_HEAD(&ei->i_prealloc_list);
spin_lock_init(&ei->i_prealloc_lock);
+ ext4_de_init_tree(&ei->i_de_tree);
ei->i_reserved_data_blocks = 0;
ei->i_reserved_meta_blocks = 0;
ei->i_allocated_meta_blocks = 0;
--
1.7.5.1
next prev parent reply other threads:[~2011-09-29 6:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-29 5:08 [RFC V2] ext4: implementation of delayed extent tree Yongqiang Yang
2011-09-29 5:08 ` [RFC PATCH V2 1/6] ext4: add two structures supporting " Yongqiang Yang
2011-09-29 5:08 ` [RFC PATCH V2 2/6] ext4: add a delayed extents tree in inode info Yongqiang Yang
2011-09-29 6:56 ` Tao Ma
2011-09-29 7:09 ` Yongqiang Yang
2011-09-29 5:08 ` [RFC PATCH V2 3/6] ext4: add operations on delayed extent tree Yongqiang Yang
2011-09-29 8:05 ` Tao Ma
2011-09-29 8:36 ` Yongqiang Yang
2011-09-29 9:40 ` Tao Ma
2011-09-29 13:12 ` Yongqiang Yang
2011-09-29 14:10 ` Tao Ma
2011-09-29 5:08 ` Yongqiang Yang [this message]
2011-09-29 5:08 ` [RFC PATCH V2 5/6] ext4: let ext4 maintian delayed extent trees Yongqiang Yang
2011-09-29 8:45 ` Amir Goldstein
2011-09-29 14:31 ` Tao Ma
2011-09-30 2:08 ` Yongqiang Yang
2011-09-29 5:08 ` [RFC PATCH V2 6/6] ext4: reimplement fiemap on delayed extent tree Yongqiang Yang
2011-09-29 15:28 ` Jeff liu
2011-09-30 0:54 ` Yongqiang Yang
2011-10-03 16:00 ` Lukas Czerner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1317272926-13303-5-git-send-email-xiaoqiangnk@gmail.com \
--to=xiaoqiangnk@gmail.com \
--cc=achender@linux.vnet.ibm.com \
--cc=adityakali@google.com \
--cc=jack@suse.cz \
--cc=jeff.liu@oracle.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).