[Drbd-dev] RFC: always use REQ_OP_WRITE_ZEROES for zeroing offload

Christoph Hellwig hch at infradead.org
Mon Mar 27 11:10:56 CEST 2017


It sounds like you don't want to support traditional discard at all,
but only WRITE ZEROES.  So in many ways this series is the right way
forward.  It would be nice if we could do a full blown
REQ_OP_WRITE_ZEROES for dm_think that zeroes out partial blocks,
similar to what hardware that implements WRITE SAME of zeroes
or WRITE ZEROES would do.  I'll see if I could include that in my
series.


More information about the drbd-dev mailing list