Skip to content

RFC ore: raid6

Boaz Harrosh linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ore: (trivial) reformat some codefs/exofs/ore.c fs/exofs/ore_raid.c+9 -143 replies
2/3ore: Remove redundant dev_order(), more cleanupsfs/exofs/ore.c fs/exofs/ore_raid.c fs/exofs/ore_raid.h+10 -310 replies
3/3ore: Support for raid 6fs/exofs/Kconfig.ore fs/exofs/ore.c fs/exofs/ore_raid.c +1 more+81 -380 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] ore: raid6

Hi all

proud to present some experimentation with raid6 in ORE.

These simple patches will enable raid6 using the Kernel's raid6_pq engine for support under exofs and pnfs-objects. There is nothing needed to do at exofs and pnfs-obj. Just fire your mkfs.exofs with --raid=6 (that was already supported before) and off you go as usual. The ORE will pick up the new map and will start writing two devices of redundancy bits.

Very RFC right now. Only lightly tested. Git clone linux and compile. Only a very few parameters tested:

	group_width=5 && group_width=6 s_unit=4*PAGES && s_unit=1*PAGE

Please have a try, report all the crashes.

In the next iteration I would like to add some raid6-math documentation which I think is needed for completeness.

I want to deeply thank Daniel Gryniewicz who found first all the bugs in the old raid code, and inspired these patches.

list of patches:
[PATCH 1/4] ore: (trivial) reformat some code [PATCH 2/4] ore: Remove redundant dev_order(), more cleanups [PATCH 3/4] ore: Support for raid 6

Cheers
Boaz