linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BTRFS and old kernels.
@ 2008-04-05 19:13 Miguel Sousa Filipe
  2008-04-06  0:57 ` Bron Gondwana
  2008-04-07 12:54 ` Chris Mason
  0 siblings, 2 replies; 4+ messages in thread
From: Miguel Sousa Filipe @ 2008-04-05 19:13 UTC (permalink / raw)
  To: btrfs-devel, linux-btrfs

Hello,
I've been testing btrfs on a linux/ppc with a 2.6.20 kernel.
For that I needed to apply a minor patch for <v0.13 (related to the
definition of ,write_cache_pages()).
For v0.13 it required the patch for the endianess bug in crc32 due to
the change in the crc32c() implementation on linux-2.6.23, that I've
posted here before.

I've just pulled the unstable tree, and tried to build, but it doesn't
even compile, I've found yet one more changed function declaration :
linux-2.6.20: include/linux/bio.h:extern void bio_endio(struct bio *,
unsigned int, int);
linux-2.6.24: include/linux/bio.h:extern void bio_endio(struct bio *, int);

and also some missing functions: (bdi_ini()t, bdi_destroy()). (not
found in 2.6.23 and older)
linux-2.6.24: include/linux/backing-dev.h:int bdi_init(struct
backing_dev_info *bdi);
linux-2.6.24: include/linux/backing-dev.h:void bdi_destroy(struct
backing_dev_info *bdi);
Should I include the code from 2.6.24 for bdi_init and bdi_destroy in
btrfs, and wrap it around ifdefs ?

My question is, is there sill interestest in having btrfs compatible
with older kernels (like, 2.6.20 or 2.6.18)?
I'll post (or repost) patches that I need for btrfs-unstable to
build/work on this ppc system of mine.

Kind regards,
-- 
Miguel Sousa Filipe

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-07 12:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-05 19:13 BTRFS and old kernels Miguel Sousa Filipe
2008-04-06  0:57 ` Bron Gondwana
2008-04-06  1:31   ` Bron Gondwana
2008-04-07 12:54 ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).