+104
−4
Loading
New version of kernel `ublk_drv` driver enabled new ioctl encoding, for compatibility consideration, it can support legacy application by default, any new added commands must use new ioctl encoding. Here, we use new added GET_FEATURES command to get features supported by the kernel driver, if driver can support new ioctl encoding, we will apply it. Change-Id: I8e790b663af58cfe0338335343cbd8e0b47f072d Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18591 Community-CI: Mellanox Build Bot Reviewed-by:
Xiaodong Liu <xiaodong.liu@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>