+144
−35
Loading
Processing a sequence consists of multiple steps and we call accel_process_sequence() mutliple times, so we need to check various things to verify if some of those steps have already been done. Having a state machine allows us to reduce the number of such checks and makes it easier to add additional steps. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I254819fee0893866de395193041b319cbad228ec Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15945 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>