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

2015-11-17 Thread Darrick J. Wong
On Fri, Nov 13, 2015 at 03:23:25PM -0500, Jeff Moyer wrote: > "Darrick J. Wong" writes: > > > Create a new ioctl to expose the block layer's newfound ability to > > issue either a zeroing discard, a WRITE SAME with a zero page, or a > > regular write with the zero page. This BLKZEROOUT2 ioctl ta

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

2015-11-13 Thread Jeff Moyer
"Darrick J. Wong" writes: > Create a new ioctl to expose the block layer's newfound ability to > issue either a zeroing discard, a WRITE SAME with a zero page, or a > regular write with the zero page. This BLKZEROOUT2 ioctl takes > {start, length, flags} as parameters. So far, the only flag ava

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

2015-11-10 Thread Darrick J. Wong
Create a new ioctl to expose the block layer's newfound ability to issue either a zeroing discard, a WRITE SAME with a zero page, or a regular write with the zero page. This BLKZEROOUT2 ioctl takes {start, length, flags} as parameters. So far, the only flag available is to enable the zeroing disc