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

Martin K. Petersen
2016-03-03T18:55:39Z

>>>>> "Christoph" == Christoph Hellwig <hch@infradead.org> 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