Spdk/lib/bdev/compress
paul luse 70165cedeb bdev/compress: queue up compression operations if we can't submit
The compressdev enqueue call will return the number of ops that
it was able to accept.  By design this will always be 1 for our
implementation so check that to make sure.

If it is 0 then we queue the compression operation up and try
again after something is dequeued in the poller.

We will also queue if we can't get an mbuf or op from our pools.

Change-Id: I7285749b4a599d1ee265e3c3e16073f25c4d7469
Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451686
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-20 16:59:43 +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: queue up compression operations if we can't submit 2019-05-20 16:59:43 +00:00
vbdev_compress.h bdev/compress: replace RPC parm name with pm_path 2019-04-26 20:07:19 +00:00