Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

From: Martin K. Petersen
Date: Thu Mar 03 2016 - 13:58:21 EST


>>>>> "Christoph" == Christoph Hellwig <hch@xxxxxxxxxxxxx> writes:

Christoph> - FALLOC_FL_PUNCH_HOLE assures zeroes are returned, but
Christoph> space is deallocated as much as possible -
Christoph> FALLOC_FL_ZERO_RANGE assures zeroes are returned, AND blocks
Christoph> are actually allocated

That works for me. I think it would be great if we could have consistent
interfaces for fs and block. The more commonality the merrier.

--
Martin K. Petersen Oracle Linux Engineering