[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 5 May 2015 10:49:03 -0400
From: Theodore Ts'o <tytso@....edu>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH 24/35] copy-in: for files, only iterate file blocks that
are mapped
On Wed, Apr 01, 2015 at 07:36:37PM -0700, Darrick J. Wong wrote:
> Rewrite the file copy-in algorithm to detect smaller holes in the
> files we're copying in. Use SEEK_DATA/SEEK_HOLE/FIEMAP when available
> to skip known empty parts. This fixes the particular bug where zeroed
> blocks on a system with 64k pages are needlessly copied into a
> 4k-block filesystem. It also saves time by skipping parts we know to
> be zeroed.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@...cle.com>
Thanks, applied.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists