+39
−32
Loading
It looks that we do not have any special reason not to follow standard nvme bdev about bdev_ocssd_reset_sgl() and bdev_ocssd_next_sge(), and it will be good for ocssd bdev to follow standard nvme bdev. Add iovs and iovcnt to struct bdev_ocssd_io and rename iov_pos by iovpos and iov_off by iov_offset. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ied864dc9505b3f1c0a19a8a36031dda9e32eb4d6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4524 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Mellanox Build Bot Reviewed-by:
Jim Harris <james.r.harris@intel.com>