public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 3] Block Layer Data Integrity
@ 2008-06-16  4:10 Martin K. Petersen
  2008-06-16  4:10 ` [PATCH 1 of 3] block: Globalize bio_set and bio_vec_slab Martin K. Petersen
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Martin K. Petersen @ 2008-06-16  4:10 UTC (permalink / raw)
  To: jens.axboe, linux-kernel, linux-scsi

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 



^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0 of 3] Block Layer Data Integrity
@ 2008-06-17 15:57 Martin K. Petersen
  2008-06-17 15:57 ` [PATCH 2 of 3] block: Block layer data integrity support Martin K. Petersen
  0 siblings, 1 reply; 10+ messages in thread
From: Martin K. Petersen @ 2008-06-17 15:57 UTC (permalink / raw)
  To: jens.axboe, linux-kernel, linux-scsi


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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-06-17 16:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16  4:10 [PATCH 0 of 3] Block Layer Data Integrity Martin K. Petersen
2008-06-16  4:10 ` [PATCH 1 of 3] block: Globalize bio_set and bio_vec_slab Martin K. Petersen
2008-06-16 19:21   ` Jens Axboe
2008-06-16  4:10 ` [PATCH 2 of 3] block: Block layer data integrity support Martin K. Petersen
2008-06-16 19:21   ` Jens Axboe
2008-06-17  4:54     ` Martin K. Petersen
2008-06-17  7:20       ` Jens Axboe
2008-06-16  4:10 ` [PATCH 3 of 3] block: Data integrity infrastructure documentation Martin K. Petersen
2008-06-16 19:20   ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2008-06-17 15:57 [PATCH 0 of 3] Block Layer Data Integrity Martin K. Petersen
2008-06-17 15:57 ` [PATCH 2 of 3] block: Block layer data integrity support Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox