quoted
quoted
quoted
quoted
"Darrick" == Darrick J Wong [off-list ref] 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, flags} as parameters. So far, the
Darrick> only flag available is to enable the zeroing discard part --
Darrick> without it, the call invokes the old BLKZEROOUT behavior.
Darrick> start and length have the same meaning as in BLKZEROOUT.
Darrick> This new ioctl also invalidates the page cache correctly on
Darrick> account of the previous patch in the series.
Reviewed-by: Martin K. Petersen <redacted>
--
Martin K. Petersen Oracle Linux Engineering