Re: [PATCH 0 of 3] Block Layer Data Integrity

From: Jens Axboe
Date: Tue Jun 17 2008 - 12:57:23 EST


On Tue, Jun 17 2008, Martin K. Petersen wrote:
>
> 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

Thanks Martin, looks good to me now. Applied to pending 2.6.27 queue.

--
Jens Axboe

--
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/