[RFC PATCH 10/16] DM: Try to use the bio buffer for decompression instead of allocating one.

2016-08-15 Thread Ram Pai
The read path allocates a temporary buffer to hold decompressed data, which is than copied into the caller's bio buffer. Instead of allocating a temporary buffer to hold the decompressed data, decompress the data in the caller's bio buffer. This can be done only if the destination in the

[RFC PATCH 10/16] DM: Try to use the bio buffer for decompression instead of allocating one.

2016-08-15 Thread Ram Pai
The read path allocates a temporary buffer to hold decompressed data, which is than copied into the caller's bio buffer. Instead of allocating a temporary buffer to hold the decompressed data, decompress the data in the caller's bio buffer. This can be done only if the destination in the