Jin Yu 3b616c0f0c bdev: split bdev io base on IO size and segments
When the backend device supports max segments and
max size, we may need to split the IO if the IO segment
size is bigger than max_size or iovcnt is bigger
than max_segments.

Add unit test for span split

Change-Id: If8e9c4f903b7def0ad7ddec7dc5aab8410498db5
Signed-off-by: Jin Yu <jin.yu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4602
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-12-17 15:45:10 +00:00
..
2020-10-22 22:43:28 +00:00
2020-10-19 10:02:10 +00:00
2020-10-15 08:23:39 +00:00
2020-10-15 08:23:39 +00:00
2020-10-15 08:23:39 +00:00
2020-11-20 11:01:37 +00:00
2020-10-23 16:23:48 +00:00
2020-11-20 11:01:37 +00:00