[Drbd-dev] always use REQ_OP_WRITE_ZEROES for zeroing offload V2

Jens Axboe axboe at kernel.dk
Sat Apr 8 19:26:18 CEST 2017


On Wed, Apr 05 2017, Christoph Hellwig wrote:
> This series makes REQ_OP_WRITE_ZEROES the only zeroing offload
> supported by the block layer, and switches existing implementations
> of REQ_OP_DISCARD that correctly set discard_zeroes_data to it,
> removes incorrect discard_zeroes_data, and also switches WRITE SAME
> based zeroing in SCSI to this new method.
> 
> The series is against the block for-next tree.

Added for 4.12, thanks Christoph.

-- 
Jens Axboe



More information about the drbd-dev mailing list