numam-spdk/module/bdev/raid
Artur Paszkiewicz 2efe6d922b module/raid: partial completions for raid_bdev_io
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>
2020-03-04 10:03:45 +00:00
..
bdev_raid_rpc.c module/raid: fix typos in comments 2020-02-03 12:46:22 +00:00
bdev_raid.c module/raid: partial completions for raid_bdev_io 2020-03-04 10:03:45 +00:00
bdev_raid.h module/raid: partial completions for raid_bdev_io 2020-03-04 10:03:45 +00:00
Makefile module/raid: raid5 module 2020-03-04 10:03:45 +00:00
raid0.c module/raid: partial completions for raid_bdev_io 2020-03-04 10:03:45 +00:00
raid5.c module/raid: raid5 module 2020-03-04 10:03:45 +00:00