linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* compression type per extent
       [not found] <AANLkTinSk7Rx-6EK-xNFvBVMA-NKOOY9gpftRfc_XUJ1@mail.gmail.com>
@ 2010-06-09  9:18 ` Philip Worrall
  0 siblings, 0 replies; only message in thread
From: Philip Worrall @ 2010-06-09  9:18 UTC (permalink / raw)
  To: linux-btrfs

I am trying to add some hooks to support different compression types

In end_compressed_bio_read(struct bio *bio, int err) (compression.c)
does anyone know how can i read the compression_type flag set for the
current extent being read for decompression.

I was looking at using btrfs_get_file_extent_compression but I am
unsure if this is correct in this function.

At the moment btrfs_zlib_decompress_biovec is called but obviously
this is because only zlib is supported right now.


Philip

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-09  9:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AANLkTinSk7Rx-6EK-xNFvBVMA-NKOOY9gpftRfc_XUJ1@mail.gmail.com>
2010-06-09  9:18 ` compression type per extent Philip Worrall

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).