block: Block layer data integrity support
authorMartin K. Petersen <martin.petersen@oracle.com>
Mon, 30 Jun 2008 18:04:41 +0000 (20:04 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 3 Jul 2008 11:21:13 +0000 (13:21 +0200)
commit7ba1ba12eeef0aa7113beb16410ef8b7c748e18b
tree4629aabe88bf095d58eabd2f451207695bb35b08
parent51d654e1d885607a6edd02b337105fa5c28b6d33
block: Block layer data integrity support

Some block devices support verifying the integrity of requests by way
of checksums or other protection information that is submitted along
with the I/O.

This patch implements support for generating and verifying integrity
metadata, as well as correctly merging, splitting and cloning bios and
requests that have this extra information attached.

See Documentation/block/data-integrity.txt for more information.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
13 files changed:
block/Kconfig
block/Makefile
block/blk-core.c
block/blk-integrity.c [new file with mode: 0644]
block/blk-merge.c
block/blk.h
block/elevator.c
fs/Makefile
fs/bio-integrity.c [new file with mode: 0644]
fs/bio.c
include/linux/bio.h
include/linux/blkdev.h
include/linux/genhd.h