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

- From: Martin K. Petersen \<hidden\>
- Date: 2016-03-03 18:54:54 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2016/03/105935
- Thread: https://ratatoskr.run/linux-api/2016/03/105935/t.md

```text
>>>>> "Christoph" == Christoph Hellwig [ref] 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
```
