[Btrfs-devel] [PATCH 4/4] btrfs: Add unexported
file_ra_state_init() when using kernels prior to 2.6.19
Jeff Mahoney
jeffm at suse.com
Thu Feb 7 06:32:16 PST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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. ;)
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.
- -Jeff
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHqxZvLPWxlyuTD7IRApouAJ0V+dpepo4Ui3vByEcyKjO2EYJMSQCgpWsH
OFFNYuKGW/vBNv49aOuIDKE=
=M/3f
-----END PGP SIGNATURE-----
More information about the Btrfs-devel
mailing list