Re: Backporting the kernel client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/29/2013 08:16 AM, Juha Aatrokoski 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

That is the correct and complete list of source files.

(I didn't know about include/keys/ceph-type.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.

That's roughly correct.  There may be some little details
(like running "depmod") but you've got it.

> 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?

They are as you described above.

> 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'm not aware of any, but I haven't tried a particular port.

> Any other thoughts or comments on this?

Let me know if you try it and run into trouble, I may be
able to help.

					-Alex

> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux