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> |
||
---|---|---|
.. | ||
Makefile | ||
vbdev_compress_rpc.c | ||
vbdev_compress.c | ||
vbdev_compress.h |