Please add simple lhash patch for aufs

Bug #182603 reported by laga
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: linux-source-2.6.24

Hello,

if you want to use aufs (another unionfs) with NFS branches, you need to apply a simple patch to the kernel. Since it's rather annoying not to be able to use aufs on top of NFS, something which is useful on diskless clients for example, and because the patch looks like it just exports a few additional symbols, I propose it to be added to the Hardy kernel.

Here's the patch: http://aufs.cvs.sourceforge.net/aufs/aufs/patch/lhash-2.6.22.patch?revision=1.1&view=markup

Here's the explanation from http://aufs.sourceforge.net:
>- lhash.patch
> For linux-2.6.19 and later till linux-2.6.21.
> When you use NFS as an aufs branch filesystem, this patch is
> required.
>- lhash-2.6.22.patch
> Same above, but this patch is for linux-2.6.22 only.

Note: i have not tried to apply that patch because I'm not running Hardy yet (due to issues with the live disk). I hope I can get away with that because the patch is so short :).

Daniel Hahler (blueyed)
Changed in linux:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
laga (laga) wrote :

Oops. It looks like the lhash patch does not apply cleanly to 2.6.24 anymore, I'll try to get an updated version.

Revision history for this message
laga (laga) wrote :

Michael S. Zick was kind enough to submit an updated patch to the aufs-users mailing list. It applies to the Ubuntu kernel with some offsets.

Junjiro Okajima, the aufs maintainer, also commented on the patch: "I think it is good."

Please ignore the "patch unexpectedly ends in middle of line" message, it's complete.

Revision history for this message
Amit Kucheria (amitk) wrote :

To be considered if we are going support aufs.

Revision history for this message
laga (laga) wrote :

That's what I was planning next, actually: Make a patch to add aufs to linux-ubuntu-modules. In my tests, it's proven to be much more reliable than unionfs (which is still version 1.4 in hardy).

I'm currently adding support for diskless clients to Mythbuntu and I *need* aufs for that - unionfs just doesn't cut it. Due to the nature of diskless clients, I also need NFS support in aufs. aufs could also easily replace unionfs in the live disks if desired (since I remember how much pain the unionfs breakage during the gutsy cycle caused to us Mythbuntu people I'm sure there's some interest at least).

Revision history for this message
laga (laga) wrote :

aufs is in l-u-m now and all needed patches are applied to the ubuntu kernel. This can be closed.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

This bug report is being closed per your last comment. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thank you again for taking the time to report this bug and helping to make Ubuntu better. Feel free to submit any future bugs you may find.

Changed in linux:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.