virtio_blk: add segment number and segment size flags
Our userspace driver already supports the SIZE_MAX and SEG_MAX features so add these two flags in supported features. Change-Id: Ibcbe423dbc1e2e8a31a53b34650c59243d35ba04 Signed-off-by: Jin Yu <jin.yu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6232 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: <dongx.yi@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
6ff30cefe9
commit
b924daec88
@ -80,7 +80,9 @@ struct bdev_virtio_blk_io_channel {
|
||||
|
||||
/* Features desired/implemented by this driver. */
|
||||
#define VIRTIO_BLK_DEV_SUPPORTED_FEATURES \
|
||||
(1ULL << VIRTIO_BLK_F_BLK_SIZE | \
|
||||
(1ULL << VIRTIO_BLK_F_SIZE_MAX | \
|
||||
1ULL << VIRTIO_BLK_F_SEG_MAX | \
|
||||
1ULL << VIRTIO_BLK_F_BLK_SIZE | \
|
||||
1ULL << VIRTIO_BLK_F_TOPOLOGY | \
|
||||
1ULL << VIRTIO_BLK_F_MQ | \
|
||||
1ULL << VIRTIO_BLK_F_RO | \
|
||||
|
Loading…
Reference in New Issue
Block a user