+4
−0
+3
−0
Loading
SPDK vhost-blk doesn't negociate `VIRTIO_BLK_F_FLUSH` nor `VIRTIO_BLK_F_CONFIG_WCE` feature bits, but we can still receive FLUSH commands from VM, here we return correct errno for these commands in case the backend block device doesn't support it. Partly fix issue #3572. Change-Id: Ib6269818ae94b38bebed3603fa8b87e97d7e7ab1 Signed-off-by:Changpeng Liu <changpeliu@tencent.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25435 Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
GangCao <gang.cao@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>