Re: [PATCH] raid5: add support for rmw writes in raid6

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

 



On Mon, Apr 29, 2013 at 12:28 PM, David Brown <david.brown@xxxxxxxxxxxx> wrote:
> For each data block you are changing, you will need to remove the old g^i *
> Di_old then add in the new g^i * Di_new, so you can still use this
> simplification to reduce the number of multiplies.  If you want to change
> blocks "i" and "j", you thus do:
>
> Q_new = Q_old + g^i * (Di_old + Di_new) + g^j * (Dj_old + Dj_new)
>
> But as I say, I only know the maths - not the code.

The issue is where to store those intermediate Di_old + Di_new results
without doubling the size of the stripe cache.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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