Re: [PATCH/RFC] md: Push down data integrity code to personalities.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 00:49, Martin K. Petersen wrote:

> There was a slight conflict in latest md.h against current Linus.  You
> may want to respin.

Jup, but it's trivial to fix. Neil, do you want me to resend?

> I tested on a few different configurations adding and removing devices
> with and without integrity enabled.  Looks good on this end.
> 
> Acked-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

Thanks. Btw, below is a trivial patch that fixes two typos in
Documentation/block/data-integrity.txt. While reading the paragraph

	Layered block devices will need to pick a profile that's
	appropriate for all subdevices.  blk_integrity_compare()
	can help with that.  DM and MD linear, RAID0 and RAID1 are
	currently supported.  RAID4/5/6 will require extra work due
	to the application tag.

I was wondering why raid10 is not mentioned and whether someone is
currently working on data integrity support for raid levels 4/5/6.

Andre

commit 5fa2be272d578d9043bd0d9102ecb257cfba8fb8
Author: Andre Noll <maan@xxxxxxxxxxxxxxx>
Date:   Wed Jun 24 15:22:47 2009 +0200

    Trivial typo fixes in Documentation/block/data-integrity.txt.
    
    Signed-off-by: Andre Noll <maan@xxxxxxxxxxxxxxx>

diff --git a/Documentation/block/data-integrity.txt b/Documentation/block/data-integrity.txt
index e8ca040..2d735b0 100644
--- a/Documentation/block/data-integrity.txt
+++ b/Documentation/block/data-integrity.txt
@@ -50,7 +50,7 @@ encouraged them to allow separation of the data and integrity metadata
 scatter-gather lists.
 
 The controller will interleave the buffers on write and split them on
-read.  This means that the Linux can DMA the data buffers to and from
+read.  This means that Linux can DMA the data buffers to and from
 host memory without changes to the page cache.
 
 Also, the 16-bit CRC checksum mandated by both the SCSI and SATA specs
@@ -66,7 +66,7 @@ software RAID5).
 
 The IP checksum is weaker than the CRC in terms of detecting bit
 errors.  However, the strength is really in the separation of the data
-buffers and the integrity metadata.  These two distinct buffers much
+buffers and the integrity metadata.  These two distinct buffers must
 match up for an I/O to complete.
 
 The separation of the data and integrity metadata buffers as well as
-- 
The only person who always got his work done by Friday was Robinson Crusoe

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux