+6
−6
Loading
max write size calculation need to account aligned length and the blocklen with metadata as done via bdev_get_max_write. This otherwise fails during bdev_io_get_buf for bounce buffer where max length returned by bdev_io_get_max_buf_len breaches the iobuf_large length. Change-Id: I0e2ee2cfa80f0617f8b1379315b9dba2459d2c71 Signed-off-by:Diwakar Sharma <diwakar.sharma@datacore.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25665 Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>