I'm probably not the only one who would like to run a distribution-provided kernel (which for Debian Wheezy/Ubuntu Precise is 3.2) and still have a recent-enough Ceph kernel client. So I'm wondering whether it's feasible to backport the kernel client to an earlier kernel. The plan is as follows:

1) Grab the Ceph files from https://github.com/ceph/ceph-client (and put them over the older kernel sources). If I got it right the files are: include/keys/ceph-type.h include/linux/ceph/* fs/ceph/* net/ceph/* drivers/block/rbd.c drivers/block/rbd_types.h

2) Make (trivial) adjustments to the source code to account for changed kernel interfaces.

3) Compile as modules and install the new Ceph modules under /lib/modules.

4) Reboot to a standard distribution kernel with up-to-date Ceph client.


Now the main questions are:

Q1: Is the Ceph client contained in the files mentioned in 1), or does it include changes elsewhere in the kernel that cannot be built as modules?

Q2: Regarding 2), are there any nontrivial interface changes i.e. Ceph actually using newly introduced features instead of just adapting to a changed syntax?


Any other thoughts or comments on this?
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to