Re: [ceph-users] Backporting the kernel client

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

 



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
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux