Re: [md PATCH 18/34] md/raid5: move more common code into handle_stripe

From
Namhyung Kim <hidden>
Date
2011-07-22 09:20:02
NeilBrown [off-list ref] writes:
Apart from 'prexor' which can only be set for RAID5, and
'qd_idx' which can only be meaningful for RAID6, these two
chunks of code are nearly the same.

So combine them into one adding a test to call either
handle_parity_checks5 or handle_parity_checks6 as appropriate.

Signed-off-by: NeilBrown <redacted>
Reviewed-by: Namhyung Kim <redacted>
Thread (1 message) 1 message, 1 author, last reply 2011-07-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help