From: "Theodore Y. Ts'o" <tytso@mit.edu>
To: Eric Whitney <enwlinux@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [PATCH] ext4: rework reserved cluster accounting when invalidating pages
Date: Fri, 23 Aug 2019 20:17:28 -0400 [thread overview]
Message-ID: <20190824001728.GA19348@mit.edu> (raw)
In-Reply-To: <20190817193103.28912-1-enwlinux@gmail.com>
On Sat, Aug 17, 2019 at 03:31:03PM -0400, Eric Whitney wrote:
> The goal of this patch is to remove two references to the buffer delay
> bit in ext4_da_page_release_reservation() as part of a larger effort
> to remove all such references from ext4. These two references are
> principally used to reduce the reserved block/cluster count when pages
> are invalidated as a result of truncating, punching holes, or
> collapsing a block range in a file. The entire function is removed
> and replaced with code in ext4_es_remove_extent() that reduces the
> reserved count as a side effect of removing a block range from delayed
> and not unwritten extents in the extent status tree as is done when
> truncating, punching holes, or collapsing ranges.
>
> The code is written to minimize the number of searches descending from
> rb tree roots for scalability.
>
> Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Thanks, applied.
- Ted
prev parent reply other threads:[~2019-08-24 0:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-17 19:31 [PATCH] ext4: rework reserved cluster accounting when invalidating pages Eric Whitney
2019-08-24 0:17 ` Theodore Y. 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=20190824001728.GA19348@mit.edu \
--to=tytso@mit.edu \
--cc=enwlinux@gmail.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 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.