Re: [PATCH 3/3] target/iblock: Add WRITE_SAME w/ UNMAP=0 emulationsupport

From: Christoph Hellwig
Date: Thu Nov 15 2012 - 14:40:20 EST


On Thu, Nov 15, 2012 at 11:29:46AM -0800, Nicholas A. Bellinger wrote:
> Well at least for the latter that is because UNMAP=0 does not have a
> payload. ;)

UNMAP=0 does have a payload, we just ignore it. In fact I was told
that targets should check for a completely zeroed sector sized payload
for it if being pedantic. I can't really find the justification for
that in the standard - the closest thing to it is the stance about
ignoring the unmap bit if the device is fully provisioned.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/