[Drbd-dev] [PATCH 12/23] sd: handle REQ_UNMAP

Martin K. Petersen martin.petersen at oracle.com
Fri Mar 31 04:19:55 CEST 2017

"hch at lst.de" <hch at lst.de> writes:

> If you manually change the provisioning mode to WS10 on a device that
> must use WRITE SAME (16) to be able to address all blocks you're already
> screwed right now, and with this patch you can screw yourself through
> the WRITE_ZEROES path in addition to the DISCARD path.

Oh, I see. We only had the LBA sanity check in place for write same, not
for discard.

Martin K. Petersen	Oracle Linux Engineering

More information about the drbd-dev mailing list