Israel, > The sector size of the block layer is 512 bytes, but integrity > interval size might be different (in case of 4K block size of the > media). At the initiator side the virtual start sector is the one that > was originally submitted by the block layer (512 bytes) for the Reftag > usage. The initiator converts the Reftag to integrity interval units > and sends it to the target. So the target virtual start sector should > be calculated at integrity interval units. prepare_fn() and > complete_fn() don't remap correctly the Reftag when using incorrect > units of the virtual start sector, which leads to the following > protection error at the device: Applied to 5.5/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering