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
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to