I collected patches needed to run lustre servers with zfs backstorage on
linux 3.11. What is the status for more recent kernels?
Its nice to see a strong interest in supporting Lustre with the latest kernels.
Especially with distro using a bleeding edge kernel. Currently we have a lustre
client upstream that is behind the latest developement and the latest
developement branch needs several patches to make it work with the latest
kernels. This status report describes what is needed for the latest developement
branch to work with newest kernels. Understand this is a work in progress and
will break things.
If you enable CONFIG_NAMESPACE you will need the patch from LU-4476.
This affect all kernels after 3.4
Linux kernel version 3.10 is fully supported with the latest developement
Linux kernel version 3.11 requires two patches from LU-3974. These
patches plus the patch for namespace are required to get RHEL7 beta
Linux kernel version 3.12 has one patch for handling loop back devices.
The other important piece missing is handling the shrinker code changes
in 3.12. The shrinker code work has not been done.
Linux kernel version 3.13 changed the api for vfs_rename which impacts
sec_ctx.c. No patch of yet.
Besides these patches two patches are in the works for the proc client
side under LU-3319. One patch is a basic cleanup. The other patch is a
fix for some symlink issues which is still a works in progress. I working
on dealing with module loading race conditions when the client is mounted
on a server.
For ldiskfs that work is under LU-3373. Their is one outstanding patch
for osd-ldiskfs support with newer kernels. The big piece missing is
ldiskfs support itself. Their was a patch for 3.11 that I was trying
out but it needs a rebase.
ZFS support is a bit easier. Like osd-ldiskfs you will need the rest of
the LU-3319 patches. Outside of that I think that is all you need. One
patch is missing which would move the NRS TBF proc handling to using
seq_files. I have code that needs to be pushed. Last note is you will
need the latest ZFS/SPL code to run with 3.13 kernels.
Besides this also patches are in developement under LU-3963. This is were we are
migrating the latest Lustre code base to using linux apis.