Spdk/lib/ublk
Changpeng Liu e641e8f3f6 lib/ublk: use page aligned data buffer
Kernel `ublk_drv` driver will do memcpy to this data buffer in
unit of page size, for a simple 4KiB I/O, it may call memcpy
twice if the data buffer isn't page aligned.  Moreover, SPDK
may also has double buffers with this case, so here, we use
page aligned data buffer at initialization.

Change-Id: Ica86a9702283327a2bb491e38990b8c00bc77f57
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17283
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2023-03-28 10:20:50 +00:00
..
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
spdk_ublk.map ublk: add configure and event/subsystem 2023-01-20 07:48:25 +00:00
ublk_internal.h ublk: turn ublk_start_disk in async 2023-01-26 17:22:04 +00:00
ublk_rpc.c ublk: turn ublk_start_disk in async 2023-01-26 17:22:04 +00:00
ublk.c lib/ublk: use page aligned data buffer 2023-03-28 10:20:50 +00:00