[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190824001728.GA19348@mit.edu>
Date: Fri, 23 Aug 2019 20:17:28 -0400
From: "Theodore Y. Ts'o" <tytso@....edu>
To: Eric Whitney <enwlinux@...il.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] ext4: rework reserved cluster accounting when
invalidating pages
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@...il.com>
Thanks, applied.
- Ted
Powered by blists - more mailing lists