This is in a effort to consolidate SCSI read and write I/O for the upcoming transparent DIF support. Previously conversion of bytes and blocks are done both in SCSI layer and BDEV layer. After the patch series, conversion is consolidated into SCSI layer. About conversion from bytes to blocks, we don't expose bdev API spdk_bdev_bytes_to_blocks and but create private helper function _bytes_to_blocks because we will use not block size but data block size when we support transparent DIF feature. Change-Id: I37169c673479c92e027e2507a0e54a1e414b43e1 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/444778 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
scsi_bdev_ut.c |