[Btrfs-devel] [PATCH 4/4] btrfs: Add unexported file_ra_state_init() when using kernels prior to 2.6.19

Chris Mason chris.mason at oracle.com
Thu Feb 7 06:36:53 PST 2008


On Thursday 07 February 2008, Jeff Mahoney wrote:
> - gpg control packet
>
> Chris Mason wrote:
> > On Wednesday 06 February 2008, Christoph Hellwig wrote:
> >> On Wed, Feb 06, 2008 at 05:14:51PM -0500, Jeff Mahoney wrote:
> >>> -----BEGIN PGP SIGNED MESSAGE-----
> >>> Hash: SHA1
> >>>
> >>>  Kernels prior to 2.6.19 don't export file_ra_state_init(). This patch
> >>> adds the file_ra_state_init() from 2.6.18.
> >>
> >> Please put this somewhere else, a separate file and hopefully only in
> >> your backports tree.  This is kernels from stoneage after all, not just
> >> one or two revisions back.
> >
> > I did ask Jeff for these patches.  I know it clutters up the source but
> > it is relatively small and very easy to rip out at merge time.  Btrfs
> > gains much more from broadening the testing base than it does from
> > keeping a few bits pretty.
> >
> > Hopefully this means there are people on SUSE 2.6.16 kernels interested
> > in testing things?
>
> I looked at backporting it to 2.6.16, but there are just too many things
> to work around easily. That kernel is used on 10.1 and SLES 10, neither
> of which I'm inclined to work that hard to get btrfs working with. ;)

Ah ok, I was wondering how they got sooo much smaller...

>
> It does work on 10.2 and 10.3, which are based on 2.6.18 and 2.6.22,
> respectively. The AppArmor patch, extended properly, will also get btrfs
> up and running on recent versions of Ubuntu.

Can we limit it to just 10.3?  I figure most of the testers will be inside 
novell at first, and hopefully they are all running the latest ;)

-chris



More information about the Btrfs-devel mailing list