Re: Need information regarding RAID 6 Async APIs for kernel version 2.6.27

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

 



satha kottidi wrote:
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_tx APIs (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
--
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