Re: [PATCH V4] libxfs: use FALLOC_FL_ZERO_RANGE in libxfs_device_zero

Christoph Hellwig
2020-02-25T18:46:53Z

On Tue, Feb 25, 2020 at 10:13:55AM -0800, Eric Sandeen wrote:
> I had a request from someone who cared about mkfs speed over
> a slower network block device to look into using faster zeroing
> methods, particularly for the log, during mkfs.
>
> Using FALLOC_FL_ZERO_RANGE is faster in this case than writing
> a bunch of zeros across a wire.
>
> Signed-off-by: Eric Sandeen <sandeen@redhat.com>

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>