Spdk/lib/vhost
Jin Yu b45f293d57 vhost-blk: add resize bdev support
This will allow us to resize the backend bdev of vhost-blk
and notify the guest OS that the capactiy of virtio-blk
disk has been resized.

The spdk api entry is `spdk_bdev_notify_blockcnt_change`.
Any bdev if used as vhost-blk backend may need to implement
a rpc that calls this function.

Related DPDK patch has been merged and release in 20.02.
https://www.mail-archive.com/dev@dpdk.org/msg153365.html

Change-Id: I961c61de0fc03e210d776035a40f3a4adfa9b4f3
Signed-off-by: Li Feng <fengli@smartx.com>
Signed-off-by: Jin Yu <jin.yu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1468
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-07-29 08:05:31 +00:00
..
Makefile lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
rte_vhost_compat.c lib/vhost: remove spdk prefix from static functions in rte_vhost_compat.c 2020-05-20 14:11:31 +00:00
spdk_vhost.map lib/vhost: Remove and inline spdk_vhost_blk_get_dev 2020-06-08 09:28:27 +00:00
vhost_blk.c vhost-blk: add resize bdev support 2020-07-29 08:05:31 +00:00
vhost_internal.h vhost: set the packed ring as default 2020-06-12 15:45:27 +00:00
vhost_nvme.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
vhost_rpc.c lib/vhost: remove spdk prefix from static functions in vhost_rpc.c 2020-05-20 14:11:31 +00:00
vhost_scsi.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
vhost.c lib and module: remove remaining _spdk prefixes. 2020-06-01 13:07:30 +00:00