patch for 2.6.36.4

From: Justin Rush <hidden>
Date: 2011-08-24 11:58:06

I am running 2.6.36.4 and I had to apply a few patches to get current hardware working as well as the lio backports so I prefer to stay on this kernel.  Is there a 2.6.34.4 patch available?  If not, can I make one?

Looking at this helpful human's post, it looks fairly straightforward:
http://comments.gmane.org/gmane.linux.kernel.bcache.devel/24

I checked out both trees, then switched to my branch:
git checkout -b 2.6.36.4

Then created the patch:
git diff linux-2.6 linux-bcache >patch

However, this resulted in a 236MB patch file, which is several orders of magnitude bigger than any other patch I have ever used.  Assuming this is even the right way to do it, do I just install it by moving it into my running kernel's source and doing a patch -p0 patch ?

Slightly un-related question:
I want to use this as a cache for two sw raid6 arrays.  The raid devices have a bunch of logical volumes carved out of them and those LVs are presented to LIO and served out as iSCSI LUNs.  Will bcache serve as a write cache for these devices?  My read performance is great, but my random write performance, or write performance in general, really sucks hard.

Justin Rush
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help