Thread (1 message) 1 message, 1 author, 2015-12-10

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

From: Martin K. Petersen <hidden>
Date: 2015-12-10 17:38:18
Also in: linux-fsdevel, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help