From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: <dsterba@suse.cz>,
Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>,
btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Btrfsck memory usage reduce idea
Date: Wed, 23 Mar 2016 09:12:51 +0800 [thread overview]
Message-ID: <56F1ED93.2090402@cn.fujitsu.com> (raw)
In-Reply-To: <20160322144927.GB29764@twin.jikos.cz>
David Sterba wrote on 2016/03/22 15:49 +0100:
> On Mon, Mar 21, 2016 at 10:15:55AM +0800, Qu Wenruo wrote:
>>> IOW, there will be two options for the use to choose from, right? That's
>>> what I'd expect. Be able to check the filesystem on a machine with less
>>> memory at the cost of IO, but also do the faster check on a different
>>> machine.
>>
>> I was planning to use the new extent tree check to replace current one,
>> as a rework.
>> Am I always reworking things? :)
>
> The problem with big reworks is that there are few people willing to
> review them. So I'm not against doing such changes, especially in this
> case it would be welcome, but I'm afraid that it could end up stalled
> similar to the convert rewrite.
So for convert rework, unless some other developer reviews the patchset,
it won't be merged, right?
To avoid the same problem, what about submitting small patchsets and
replace extent tree fsck codes part by part?
(Although not sure if it's possible)
Reviewers would be much more happy reviewing 5 patches for 5 times,
other than reviewing a big 25 patchset.
Thanks,
Qu
>
>> The point that I didn't want to keep the current behavior is, the old
>> one is just OK or OOM, no one would know if it will OOM until it happens.
>>
>> But the new one would be much flex than current behavior.
>> As it fully uses the IO cache provided by kernel.
>
> That's a good point, for the single implementation.
>
>
prev parent reply other threads:[~2016-03-23 1:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-07 5:42 Btrfsck memory usage reduce idea Qu Wenruo
2016-03-08 8:28 ` Satoru Takeuchi
2016-03-08 8:46 ` Qu Wenruo
2016-03-09 0:13 ` Satoru Takeuchi
2016-03-18 18:18 ` David Sterba
2016-03-21 2:15 ` Qu Wenruo
2016-03-21 9:43 ` Duncan
2016-03-22 14:49 ` David Sterba
2016-03-23 1:12 ` Qu Wenruo [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=56F1ED93.2090402@cn.fujitsu.com \
--to=quwenruo@cn.fujitsu.com \
--cc=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=takeuchi_satoru@jp.fujitsu.com \
/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).