Spdk/lib/bdev/compress
paul luse 7b641c757d bdev/compress: change how we manage mbufs
In working on a future patch to queue compress operations, I found
some corruptions in our mbuf pool stemming from an inconsistency
in using mbuf macros when constructing a compress operation and
how we allocated and freed both the pool and the mbufs.

This also fixes an issue that I hadn't addressed yet with freeing
chained mbufs.  Use of the mbuf macro to free them instead of the
generic spdk functions takes care of that for us.

Change-Id: I7b29a0d740ab745574698c721d575d8a735ad5cb
Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453028
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-05-13 15:41:35 +00:00
..
Makefile bdev/compress: add compression vbdev module 2019-03-27 14:51:22 +00:00
vbdev_compress_rpc.c bdev/compress: replace RPC parm name with pm_path 2019-04-26 20:07:19 +00:00
vbdev_compress.c bdev/compress: change how we manage mbufs 2019-05-13 15:41:35 +00:00
vbdev_compress.h bdev/compress: replace RPC parm name with pm_path 2019-04-26 20:07:19 +00:00