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

Mike Snitzer snitzer at redhat.com
Thu Mar 30 17:38:51 CEST 2017


On Thu, Mar 30 2017 at 11:22am -0400,
Martin K. Petersen <martin.petersen at oracle.com> wrote:

> Mike Snitzer <snitzer at redhat.com> writes:
> 
> > Would be very useful, particularly for testing, if
> > drivers/scsi/scsi_debug.c were updated to support WRITE ZEROES.
> 
> There is no WRITE ZEROES in SCSI. You should be able to get the right
> behavior with lbpws=1 lbprz=1.

OK, thanks.


More information about the drbd-dev mailing list