+16
−0
+2
−0
+2
−0
Loading
The current code for setting/getting coalescing setting only works with vhost-user devices, while users can create virtio-blk devices with non-vhost-user transport. Calling spdk_vhost_(set|get)coalescing() on such device results in a segfault. So, spdk_vhost_dev_backend interface is extended with methods to set / get coalescing parameters. In the following patch, the virtio_blk interface will be also extended with similar callbacks allowing us to pipe coalescing settings to the appropriate transport. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ide5d5f633b17dcdbedb4b7804d5e45bf41373eca Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15771 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>