From: Philip Worrall <philip.worrall@googlemail.com>
To: linux-btrfs@vger.kernel.org
Subject: compression type per extent
Date: Wed, 9 Jun 2010 10:18:21 +0100 [thread overview]
Message-ID: <AANLkTikkFpiSdaoqd7Ut48Bh8U-cAsrKFQiFgDjxGfTm@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinSk7Rx-6EK-xNFvBVMA-NKOOY9gpftRfc_XUJ1@mail.gmail.com>
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
parent reply other threads:[~2010-06-09 9:18 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <AANLkTinSk7Rx-6EK-xNFvBVMA-NKOOY9gpftRfc_XUJ1@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTikkFpiSdaoqd7Ut48Bh8U-cAsrKFQiFgDjxGfTm@mail.gmail.com \
--to=philip.worrall@googlemail.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).