Need information regarding RAID 6 Async APIs for kernel version 2.6.27
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · satha kottidi
Hi all,
Dan thanks for your recommendations, I followed it, got the present running branch and working on it.
I have one more rquest, presently I want to run the
Async_txAPIs (RAID6) in kernel 2.6.27, Is any suggestions for further process.Is the only way I have to extract the changes in the branch and applied to my kernel, or any other ways.
Can you please help me in this regard also.
Backporting is a black art, and is rarely straightforward. In a perfect world you could use Stacked GIT to rebase all the relevant changes onto a 2.6.27 base with a script like:
git log --reverse v2.6.27..async_tx/raid6 --no-merges\
--pretty=format:"%H" drivers/md/md.c drivers/md/raid5.c drivers/dma/ \crypto/async_tx/ > commits
git checkout -b 2.6.27-raid6 v2.6.27
stg init
cat commits | while read commit;
do
stg pick $commit
done
...but there is a high likelihood to encounter merge conflicts and other
cross-tree dependencies especially when trying to backport across ~3
kernel versions.
Good luck,
Dan