mbox series

[0/3] e2fprogs: miscellaneous fixes

Message ID 153549947412.19148.4891642282274103717.stgit@magnolia
Headers show
Series e2fprogs: miscellaneous fixes | expand

Message

Darrick Wong Aug. 28, 2018, 11:37 p.m. UTC
Hi all,

Here's a couple of patches that make fallocate's ZERO_RANGE the
preferred implementation of unix_zeroout, and rearrange unix_zeroout and
unix_discard to try fallocate first always.  fallocate for block devices
has existed in the kernel for a few years now, and satisfies libext2fs'
requirement that reads following a zero/discard must return zeroes.  The
existing fallbacks for both functions are preserved.

The third patch fixes some build problems due to the MKINSTALLDIRS ->
MKDIR_P transition.

Questions?  Comments?  This series targets e2fsprogs 1.45.

--D

Comments

Theodore Ts'o Sept. 6, 2018, 3:57 p.m. UTC | #1
On Tue, Aug 28, 2018 at 04:37:54PM -0700, Darrick J. Wong wrote:
> Hi all,
> 
> Here's a couple of patches that make fallocate's ZERO_RANGE the
> preferred implementation of unix_zeroout, and rearrange unix_zeroout and
> unix_discard to try fallocate first always.  fallocate for block devices
> has existed in the kernel for a few years now, and satisfies libext2fs'
> requirement that reads following a zero/discard must return zeroes.  The
> existing fallbacks for both functions are preserved.
> 
> The third patch fixes some build problems due to the MKINSTALLDIRS ->
> MKDIR_P transition.
> 
> Questions?  Comments?  This series targets e2fsprogs 1.45.

Thanks, I've applied all of the patches in this series.

	     	     	    		   - Ted