Re: [PATCH 10/14] block: Integrity checksum flag

2014-06-11 Thread Christoph Hellwig
On Wed, May 28, 2014 at 11:28:44PM -0400, Martin K. Petersen wrote: Make the choice of checksum a per-I/O property by introducing a flag that can be inspected by the SCSI layer. Why? -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to

Re: [PATCH 10/14] block: Integrity checksum flag

2014-06-11 Thread Martin K. Petersen
Christoph == Christoph Hellwig h...@infradead.org writes: Make the choice of checksum a per-I/O property by introducing a flag that can be inspected by the SCSI layer. Christoph Why? First of all it's desirable to be able to use both IP and CRC checksums without having to unload the HBA

[PATCH 10/14] block: Integrity checksum flag

2014-05-28 Thread Martin K. Petersen
Make the choice of checksum a per-I/O property by introducing a flag that can be inspected by the SCSI layer. Signed-off-by: Martin K. Petersen martin.peter...@oracle.com --- block/bio-integrity.c | 3 +++ drivers/scsi/sd_dif.c | 6 -- include/linux/bio.h| 1 + include/linux/blkdev.h |