Re: [PATCH 3/5] scsi_debug: avoid partial copying PI from prot_sglist to dif_storep

2013-09-20 Thread Martin K. Petersen
Akinobu == Akinobu Mita akinobu.m...@gmail.com writes: Akinobu If data integrity support is enabled, prot_verify_write() is Akinobu called in response to WRITE commands and it verifies protection Akinobu info from prot_sglist by comparing against data sglist, and Akinobu copies protection info

[PATCH 3/5] scsi_debug: avoid partial copying PI from prot_sglist to dif_storep

2013-09-18 Thread Akinobu Mita
If data integrity support is enabled, prot_verify_write() is called in response to WRITE commands and it verifies protection info from prot_sglist by comparing against data sglist, and copies protection info to dif_storep. When multiple blocks are transfered by a WRITE command, it verifies and