+26
−17
Loading
Move actual submission code to _spdk_bdev_io_do_submit, used by both normal submission path and QoS path. Previous patch(review.gerrithub.io/c/442127) adds the missing bdev_io->internal.in_submit_request flag to QoS submission path. But QoS submission path doesn't handle nomem_io yet. This patch makes QoS submission path handle nomem_io in the same way as the normal path and extracts actual submission code into do_submit function, so that further modification of the submission logic will apply to both paths automatically. Change-Id: I41fa88d239c3a2bd9783d812826e32e7c887818d Signed-off-by:lorneli <lorneli@163.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455252 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
GangCao <gang.cao@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>