2efe6d922b
Replace the 'expected' and 'completed' raid_bdev_io counters with a single 'remaining' counter. This can represent either remaining blocks or IOs required to complete the raid_bdev_io. Add a function which decrements the counter and completes the raid_bdev_io if it reaches 0. Change-Id: Ifa8bcc05c33e80159aad21d6e73d1f6185cca1cf Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/856 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
||
---|---|---|
.. | ||
bdev_raid_rpc.c | ||
bdev_raid.c | ||
bdev_raid.h | ||
Makefile | ||
raid0.c | ||
raid5.c |