Re: [PATCH v5] target/iblock: split T10 PI SGL across command bios

2018-09-20 Thread Martin K. Petersen
Greg, > Split the PI SGL across the bios in the command, so each bio's > bio_integrity_payload contains the protection information for the data > in the bio. That is indeed how the bio integrity code is intended to be used. I have queued it up. Thanks! -- Martin K. Petersen Oracle Linux

Re: [PATCH v5] target/iblock: split T10 PI SGL across command bios

2018-09-13 Thread Mike Christie
On 09/04/2018 12:19 PM, Greg Edwards wrote: > When T10 PI is enabled on a backing device for the iblock backstore, the > PI SGL for the entire command is attached to the first bio only. This > works fine if the command is covered by a single bio, but can result in > ref tag errors in the client fo