From: Ted Ts'o <tytso@mit.edu>
To: Eric Sandeen <sandeen@redhat.com>
Cc: ext4 development <linux-ext4@vger.kernel.org>
Subject: Re: [PATCH] break out of ext4_num_dirty_pages() when we hit max_pages
Date: Mon, 13 Sep 2010 17:24:10 -0400 [thread overview]
Message-ID: <20100913212410.GA6312@thunk.org> (raw)
In-Reply-To: <4C892EEA.6090007@redhat.com>
On Thu, Sep 09, 2010 at 02:00:58PM -0500, Eric Sandeen wrote:
> ext4_num_dirty_pages() will continue scanning after we accumulate
> max_pages, possibly for a very long time without doing anything
> useful at all. When we hit max_pages, we should set done=1
> so that the break will release the pagevec, exit the loop, and
> return from the function.
>
> Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Added to the ext4 tree, thanks.
- Ted
prev parent reply other threads:[~2010-09-13 21:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-09 19:00 [PATCH] break out of ext4_num_dirty_pages() when we hit max_pages Eric Sandeen
2010-09-13 21:24 ` Ted Ts'o [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=20100913212410.GA6312@thunk.org \
--to=tytso@mit.edu \
--cc=linux-ext4@vger.kernel.org \
--cc=sandeen@redhat.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).