Re: with raid-6 any writes access all disks

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

 



On Wed, 26 Oct 2011 16:01:19 -0500 Chris Pearson <kermit4@xxxxxxxxx> wrote:

> In 2.6.39.1, any writes to a raid-6 array cause all disks to be
> accessed.  Though I don't understand the math behind raid-6, I have
> tested on LSI cards that it is possible to only access 3 disks.

You are correct.  md/raid6 doesn't do the required maths.

i.e.  it always adds all data together to calculate the parity.
It never subtracts old data from the parity, then add new data.

This was a decision made by the original implementer (hpa) and no-one has
offered code to change it.

(yes, I review and accept patches :-)

NeilBrown

Attachment: signature.asc
Description: PGP 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