On Fri, 20 Sep 2013, Martin K. Petersen wrote:
"Keith" == Keith Busch <keith.busch@xxxxxxxxx> writes:
Keith> The ref tag should be the device's physical LBA rather than the
Keith> 512 byte bio sector.
The bip sector is just a seed value set by the application. It is not
correct to scale it based on sector size or PI interval.
If I follow the current implementation correctly and have a 4k physical
block size, a two block write at LBA 0 will generate ref tags 0 and 1
for that operation. If I read back one block at LBA 1, the current code
will expect the ref tag to be 8, but come back as 1, failing the compare.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html