From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752849AbYFPENs (ORCPT ); Mon, 16 Jun 2008 00:13:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750919AbYFPENb (ORCPT ); Mon, 16 Jun 2008 00:13:31 -0400 Received: from jaguar.mkp.net ([192.139.46.146]:41605 "EHLO jaguar.mkp.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750804AbYFPENa (ORCPT ); Mon, 16 Jun 2008 00:13:30 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 0 of 3] Block Layer Data Integrity Message-Id: Date: Mon, 16 Jun 2008 00:10:17 -0400 From: "Martin K. Petersen" To: jens.axboe@oracle.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: - Fix sector calculation for DIF Type 3 devices - Use DIV_ROUND_UP() - Create bio_integrity_mark_{head,tail} helpers and use them when adjusting integrity vectors - Consolidate bio_integrity_{set,get} tag - sysfs ABI doc 15 files changed, 1732 insertions(+), 31 deletions(-) Documentation/ABI/testing/sysfs-block | 34 + Documentation/block/data-integrity.txt | 327 ++++++++++++++ block/Kconfig | 12 block/Makefile | 1 block/blk-core.c | 7 block/blk-integrity.c | 385 +++++++++++++++++ block/blk-merge.c | 3 block/blk.h | 8 block/elevator.c | 6 fs/Makefile | 1 fs/bio-integrity.c | 700 ++++++++++++++++++++++++++++++++ fs/bio.c | 62 +- include/linux/bio.h | 115 +++++ include/linux/blkdev.h | 99 ++++ include/linux/genhd.h | 3