On Mon, Apr 29, 2013 at 6:16 AM, Juha Aatrokoski <jha@xxxxxxxxxxx> wrote: > 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? The ceph stuff is mostly there, if you exclude make file changes. Don't think there's anything outside. > > 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? I don't really know, haven't been actively looking at the kernel side for a while. It used to compile on that kernel version, so you can always refer to the older version and see how it used to work. Usually you can just try to compile it, see where it fails and then try to figure out what has changed there. Yehuda _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com