From: Miao Xie <miaox@cn.fujitsu.com>
To: Chris Mason <chris.mason@oracle.com>
Cc: Linux Btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: [PATCH V6 3/3] btrfs: delay to insert the initial inode
Date: Tue, 26 Apr 2011 13:38:52 +0800 [thread overview]
Message-ID: <4DB65A6C.9020402@cn.fujitsu.com> (raw)
In-Reply-To: <1303764553-sup-8007@think>
On Mon, 25 Apr 2011 16:50:43 -0400, Chris Mason wrote:
> Excerpts from Miao Xie's message of 2011-04-22 06:12:24 -0400:
>> Since we have implemented the delayed update of the inode, we can also
>> delayed to insert the initial inode, then we can merge the inode update
>> and the initial inode insertions to one insertion.
>
> Awesome. With things separate from the inode this should solve our oom
> problems. We might need to register a shrinker for the delayed inode
> operations too, but that shouldn't be a problem.
I think this shrinker may block the task which is reclaiming the memory, because
the shrinker need some free memory to do extent buffer cow when it does delayed item
insertion/deletion. So...
But don't worry about it, those delayed nodes will be freed after the transaction
is committed.
Thanks
Miao
>
> -chris
>
prev parent reply other threads:[~2011-04-26 5:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-22 10:12 [PATCH V6 3/3] btrfs: delay to insert the initial inode Miao Xie
2011-04-25 20:50 ` Chris Mason
2011-04-26 5:38 ` Miao Xie [this message]
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=4DB65A6C.9020402@cn.fujitsu.com \
--to=miaox@cn.fujitsu.com \
--cc=chris.mason@oracle.com \
--cc=linux-btrfs@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.