]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72fe24bda4b1b2c82c28644fa5e33b4910964ec8
tree4629aabe88bf095d58eabd2f451207695bb35b08
parent768a87785416dd7d44c85cb2e73fc623ff52fc7d
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