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

2015-12-14 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

2015-12-10 Thread Martin K. Petersen
> "Darrick" == Darrick J Wong writes: Darrick> Create a new ioctl to expose the block layer's newfound ability Darrick> to issue either a zeroing discard, a WRITE SAME with a zero Darrick> page, or a regular write with the zero page. This BLKZEROOUT2 Darrick> ioctl takes {start, length, flag

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

2015-12-07 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