Upcoming changes will require queuing an I/O if it overlaps with another I/O to the same logical chunk. So split out code (especially from the writev path) into separate functions, so that we can execute an spdk_reduce_vol_request object whether it's just been created via readv/writev, or after another I/O to the same chunk has been completed. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I2a216c92e4999313ecc9f7cf157dccd65c9bb30f Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/448332 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com> |
||
---|---|---|
.. | ||
Makefile | ||
reduce.c |