[PATCH 0 of 3] Block Layer Data Integrity

From: Martin K. Petersen
Date: Tue Jun 17 2008 - 11:59:58 EST



These patches allow data integrity information (checksum and more) to
be attached to I/Os at the block/filesystem layers and transferred
through the entire I/O stack all the way to the physical storage
device.

The integrity metadata can be generated in close proximity to the
original data. Capable host adapters, RAID arrays and physical disks
can verify the data integrity and abort I/Os in case of a mismatch.

Changes:

- Add "if in doubt" to Kconfig

- Make blk_rq_count_integrity_sg() more readable

- Queue integrity sysfs fixes

- Fix two struct bi leaks

- Rename struct bip to bio_integrity_payload

- Introduce bio_integrity_hw_sectors() that converts from block layer
(512b) sectors to hardware sectors

- Fix kunmap_atomic() abuse

- Replace ?: constructs with if()

- Add __GFP_NOFAIL to bio_integrity_prep() allocation


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/