Spdk/test/unit/lib/bdev
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
..
bdev_raid.c raid bdev: Change product_name to "Raid Volume" 2019-05-02 09:02:52 +00:00
bdev.c trace: remove short_name 2019-05-02 08:41:56 +00:00
compress.c bdev/compress: change how we manage mbufs 2019-05-13 15:41:35 +00:00
crypto.c bdev/crypto: add new uninit call needed for dpdk 19.02 2019-04-24 22:00:10 +00:00
gpt test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
mt trace: remove short_name 2019-05-02 08:41:56 +00:00
part.c trace: remove short_name 2019-05-02 08:41:56 +00:00
pmem bdev: Not assert but pass completion status to spdk_bdev_io_get_buf_cb 2019-02-27 01:59:11 +00:00
scsi_nvme.c test/unit: remove duplicate mk/spdk.common.mk includes 2019-02-11 09:30:27 +00:00
vbdev_lvol.c bdev: deprecate spdk_vbdev_register 2019-04-04 08:28:31 +00:00
Makefile bdev/compress: add missing mocks and re-enable UT build for comp 2019-04-22 15:44:38 +00:00