| f656eed6 | 06-Jul-2022 |
Yifan Bian <yifan.bian@intel.com> |
bdev/rbd: add warning message for bdev_rbd_create without specifying -c
This patch will print warning message to help customer use rpc command bdev_rbd_create correctly.
Fix issue #2189
Change-Id:
bdev/rbd: add warning message for bdev_rbd_create without specifying -c
This patch will print warning message to help customer use rpc command bdev_rbd_create correctly.
Fix issue #2189
Change-Id: I734516bef4c5471249dda6463d81be670d975566 Signed-off-by: Yifan Bian <yifan.bian@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13555 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Xiaodong Liu <xiaodong.liu@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 642f8b3d | 24-Jun-2022 |
Jaroslaw Chachulski <jaroslawx.chachulski@intel.com> |
scripts/rpc: remove default values from bdev functions
Removing default options from parser command to prevent overwrite by argparse the defaults defined in the .c files.
Signed-off-by: Jaroslaw Ch
scripts/rpc: remove default values from bdev functions
Removing default options from parser command to prevent overwrite by argparse the defaults defined in the .c files.
Signed-off-by: Jaroslaw Chachulski <jaroslawx.chachulski@intel.com> Change-Id: I39026e0866f2a9aecda6588bb3f91ed87676ddd1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13461 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
| cd79f1a2 | 08-Jun-2022 |
Jaroslaw Chachulski <jaroslawx.chachulski@intel.com> |
scripts/rpc: remove default value from bdev_ocf_create
Removing default options from parser command to prevent overwrite by argparse the defaults defined in the .c files.
Signed-off-by: Jaroslaw Ch
scripts/rpc: remove default value from bdev_ocf_create
Removing default options from parser command to prevent overwrite by argparse the defaults defined in the .c files.
Signed-off-by: Jaroslaw Chachulski <jaroslawx.chachulski@intel.com> Change-Id: I9c1ba26e2b867b91fd5f7cd91edbff1844f08c79 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12979 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com>
show more ...
|
| 4c59c6ac | 05-Oct-2021 |
yupeng <yupeng0921@gmail.com> |
blobstore: add RPC for growing blobstore
Add num_md_pages_per_cluster_ratio parameter to bdev_lvol_create_lvstore. Add bdev_lvol_grow_lvstore rpc.
Signed-off-by: Peng Yu <yupeng0921@gmail.com> Chan
blobstore: add RPC for growing blobstore
Add num_md_pages_per_cluster_ratio parameter to bdev_lvol_create_lvstore. Add bdev_lvol_grow_lvstore rpc.
Signed-off-by: Peng Yu <yupeng0921@gmail.com> Change-Id: I43a129efbc1a08f9d0df027e80f63ab1393163a2 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9734 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 488570eb | 03-Jun-2022 |
Jim Harris <james.r.harris@intel.com> |
Replace most BSD 3-clause license text with SPDX identifier.
Many open source projects have moved to using SPDX identifiers to specify license information, reducing the amount of boilerplate code in
Replace most BSD 3-clause license text with SPDX identifier.
Many open source projects have moved to using SPDX identifiers to specify license information, reducing the amount of boilerplate code in every source file. This patch replaces the bulk of SPDK .c, .cpp and Makefiles with the BSD-3-Clause identifier.
Almost all of these files share the exact same license text, and this patch only modifies the files that contain the most common license text. There can be slight variations because the third clause contains company names - most say "Intel Corporation", but there are instances for Nvidia, Samsung, Eideticom and even "the copyright holder".
Used a bash script to automate replacement of the license text with SPDX identifier which is checked into scripts/spdx.sh.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Iaa88ab5e92ea471691dc298cfe41ebfb5d169780 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12904 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: <qun.wan@intel.com>
show more ...
|
| 8d515e02 | 01-Jun-2022 |
Jim Harris <james.r.harris@intel.com> |
python: remove unneeded deprecated_alias imports
We removed all of the existing deprecated aliases recently, but didn't remove the associated imports.
Found by lgtm.com.
Signed-off-by: Jim Harris
python: remove unneeded deprecated_alias imports
We removed all of the existing deprecated aliases recently, but didn't remove the associated imports.
Found by lgtm.com.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I2b8526254da26ad4a9b34eb67b155dacfe9a5e57 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12862 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
| 5ab0f37f | 26-May-2022 |
Konrad Sztyber <konrad.sztyber@intel.com> |
rpc: pass params as **kwargs in vhost_create_blk_controller
This will make it possible for out-of-tree virtio-blk transports to pass transport-specific options when creating controllers.
Change-Id:
rpc: pass params as **kwargs in vhost_create_blk_controller
This will make it possible for out-of-tree virtio-blk transports to pass transport-specific options when creating controllers.
Change-Id: I862f0f8096aadb5e47bbe4c1c418aaf06691e1ac Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12818 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> 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>
show more ...
|
| e661c8e8 | 26-May-2022 |
Konrad Sztyber <konrad.sztyber@intel.com> |
rpc: pass params as **kwargs in virtio_blk_create_transport
This will make it possible for out-of-tree virtio-blk transports to pass their own, transport-specific, set of options.
Change-Id: Ic37b7
rpc: pass params as **kwargs in virtio_blk_create_transport
This will make it possible for out-of-tree virtio-blk transports to pass their own, transport-specific, set of options.
Change-Id: Ic37b7fb09ca74a744c006d032638d02cc3350471 Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12816 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot 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>
show more ...
|
| d39963a9 | 25-May-2022 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
vhost: remove opts argument from virtio_blk_create_transport
'opts' was a left over from debugging, it should not be present in the RPC.
virtio-blk transports are supposed to extend the RPC with cu
vhost: remove opts argument from virtio_blk_create_transport
'opts' was a left over from debugging, it should not be present in the RPC.
virtio-blk transports are supposed to extend the RPC with custom JSON parameters by existing commands.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ie515db192bd69baec74f7aedb93f29a1d98a0615 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12811 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 31513614 | 23-May-2022 |
wanghailiangx <hailiangx.e.wang@intel.com> |
some remaining rpc: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I7d3804a84851753992af4a3a37b60dc6de0d22cb Signed-off-
some remaining rpc: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I7d3804a84851753992af4a3a37b60dc6de0d22cb Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12780 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| f552937e | 23-May-2022 |
wanghailiangx <hailiangx.e.wang@intel.com> |
trace module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: Ie50c7421f991ad0474edba0e0f339180f7afee00 Signed-off-by: wa
trace module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: Ie50c7421f991ad0474edba0e0f339180f7afee00 Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12778 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|
| 000ee408 | 23-May-2022 |
wanghailiangx <hailiangx.e.wang@intel.com> |
app module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: Ia09368e426a83274d9c7fc90ed8b0391f4d0b67c Signed-off-by: wang
app module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: Ia09368e426a83274d9c7fc90ed8b0391f4d0b67c Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12774 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| b727e804 | 17-Sep-2021 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
vhost: add virtio_blk abstraction
This patch adds virtio_blk abstraction for custom transports, with the 'vhost_user_blk' first one being used.
Added spdk_virtio_blk_transport_ops describing the ne
vhost: add virtio_blk abstraction
This patch adds virtio_blk abstraction for custom transports, with the 'vhost_user_blk' first one being used.
Added spdk_virtio_blk_transport_ops describing the nessecary callbacks to be implemented by each transport. Please use SPDK_VIRTIO_BLK_TRANSPORT_REGISTER to register the transport. Transports can use virtio_blk_process_request() to process the incoming I/O from their queues.
virtio_blk_create_transport RPC was added to create one of the registered transports, possibly with custom JSON arguments.
Added 'transport' argument to vhost_create_blk_controller RPC, to specify which transport should create the controller. By default the vhost_user_blk transport is used.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ic9d93a6e0f483796eb56b7174a678e41a6ea4808 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9540 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 81d3cc1b | 23-May-2022 |
wanghailiangx <hailiangx.e.wang@intel.com> |
subsystem module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I56dbaef56ff793e48441219e07dc6b02dda0b470 Signed-off-by
subsystem module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I56dbaef56ff793e48441219e07dc6b02dda0b470 Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12777 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 465f99e9 | 23-May-2022 |
wanghailiangx <hailiangx.e.wang@intel.com> |
accel module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I5a715e9b9e991c6febec5e505384728281eee8b7 Signed-off-by: wa
accel module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I5a715e9b9e991c6febec5e505384728281eee8b7 Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12773 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 23d832a0 | 17-May-2022 |
wanghailiangx <hailiangx.e.wang@intel.com> |
vhost: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I33a497fb134320f13606b66ad55fc7b068d011d9 Signed-off-by: wanghaili
vhost: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I33a497fb134320f13606b66ad55fc7b068d011d9 Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12716 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Xiaodong Liu <xiaodong.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 405be3b7 | 23-May-2022 |
wanghailiangx <hailiangx.e.wang@intel.com> |
notify module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I477da05a42ca607fbad4d178aa541726197d7c83 Signed-off-by: w
notify module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I477da05a42ca607fbad4d178aa541726197d7c83 Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12775 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 7aa92ad5 | 23-May-2022 |
wanghailiangx <hailiangx.e.wang@intel.com> |
bdev module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I9e203a52877802127df8144e68090d7975f9d200 Signed-off-by: wan
bdev module: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I9e203a52877802127df8144e68090d7975f9d200 Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12772 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| b483811f | 20-May-2022 |
paul luse <paul.e.luse@intel.com> |
modules/accel/iaa: add IAA accel_fw module
And associated RPC to enable.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I06785bcd8b8957293ad41d13bab556fe62f29fd5 Reviewed-on: https://r
modules/accel/iaa: add IAA accel_fw module
And associated RPC to enable.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I06785bcd8b8957293ad41d13bab556fe62f29fd5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12765 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 3ac967ba | 19-May-2022 |
wanghailiangx <hailiangx.e.wang@intel.com> |
bdev_iscsi: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I25aea510648a55d751db3740b36fb9924d1f52ed Signed-off-by: wang
bdev_iscsi: remove support for deprecated RPC names
These were deprecated in 2019, it's time to remove support for them now.
Change-Id: I25aea510648a55d751db3740b36fb9924d1f52ed Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12747 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
| ffef30ae | 18-Mar-2022 |
paul luse <paul.e.luse@intel.com> |
modules/accel_dsa: update IDXD references to DSA where it makes sense
IDXD has always been used everywhere but technically it stands for the driver, not the HW (Intel Data Streaming Accelerator Driv
modules/accel_dsa: update IDXD references to DSA where it makes sense
IDXD has always been used everywhere but technically it stands for the driver, not the HW (Intel Data Streaming Accelerator Driver) where the X comes from "Streaming Accelerator" somehow. Anyway, the underlying hardware is just DSA. It doesn't matter much now but upcoming patches will add support for a new HW accelerator called the Intel In-Memory Analytics Accelerator which we'll call IAA and it will use the same (mostly) device driver (IDXD) as DSA. So, calling the HW what it is will lessen confusion when adding IAA support.
This patch just does renaming for the accel_fw module and associated files (RPC, etc).
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: Ib3b1f982cc60359ecfea5dbcbeeb33e4d69aee6a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11984 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| e0516095 | 31-Aug-2021 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
event/vhost: separate vhost subsystem to scsi and blk
Separate out SCSI and BLK vhost subsystems to later add virtio_blk transport abstraction.
This allows for further changes to the vhost_blk, not
event/vhost: separate vhost subsystem to scsi and blk
Separate out SCSI and BLK vhost subsystems to later add virtio_blk transport abstraction.
This allows for further changes to the vhost_blk, not affecting vhost_scsi.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Id1ecfeafeb936809a479a43c321e13f75cb3d5ad Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9539 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
| 56657ad0 | 08-Apr-2022 |
Sebastian Brzezinka <sebastian.brzezinka@intel.com> |
sma: vhost-user sma implementation
This patch utilize generic sma implementation by adding vhost-user devices manager. It's allow to expose virtualized block devices to QEMU instances or other arbit
sma: vhost-user sma implementation
This patch utilize generic sma implementation by adding vhost-user devices manager. It's allow to expose virtualized block devices to QEMU instances or other arbitrary processes.
Max device capacity depend on available `pci-bridge` ``` devices: - name: 'vhost_blk' params: buses: - name: 'pci.spdk.0' count: 32 - name: 'pci.spdk.1' count: 32 qmp_addr: 127.0.0.1 qmp_port: 9090 ```
To attach `pci-bridge` at boot time we need to run qemu with this option ``` device pci-bridge,chassis_nr=1,id=pci.spdk.0 device pci-bridge,chassis_nr=2,id=pci.spdk.1 ``
Change-Id: Idbe841b12cf59975ff0e6717f8dc905d38379357 Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12207 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Artek Koltun <artsiom.koltun@intel.com>
show more ...
|
| 16cc2ade | 13-Feb-2022 |
Milosz Linkiewicz <milosz.linkiewicz@intel.com> |
sma: QMP base definitions created
This patch adds python scripts for basic handling of QEMU Machine Protocol connection for use with vfio_user. Basic low-level connection and error handling added as
sma: QMP base definitions created
This patch adds python scripts for basic handling of QEMU Machine Protocol connection for use with vfio_user. Basic low-level connection and error handling added as extended socket class. QMPClient: Wrapper class for handling connection with QMP was added.
Protected class method _receive relies on the fact, that QMP always sends command 'in one line' - each one is always terminated with CRLF. https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt
Usage example, command line calls: 1) Without event parameter: ```json { "request": { "execute": "device-list-properties", "arguments": { "typename": "vfiouser-0-1-1" } } } ``` 2) With event parameter specified. Specifying 'event' parameter will set script to block wait for occurrence of such one after a valid execution of specified request: ```json { "event": { "event": "DEVICE_DELETED", "data": { "device": "vfiouser-0-1-1" } }, "request": { "execute": "device_del", "arguments": { "id": "vfiouser-0-1-1" } } } ```
Signed-off-by: mionsz <milosz.linkiewicz@intel.com> Change-Id: I7a548f61d31097ad425994b2ea4bac8bc6800b5b Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11106 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 94308849 | 16-May-2022 |
Konrad Sztyber <konrad.sztyber@intel.com> |
sma: add volume cleanup thread
Since SMA keeps track of attached volumes and a volume might get disconnected at any time (in which case they're also removed from the host side), a mechanism is neede
sma: add volume cleanup thread
Since SMA keeps track of attached volumes and a volume might get disconnected at any time (in which case they're also removed from the host side), a mechanism is needed to monitor if any of the volumes are no longer accessible.
This patch implements that mechanism by adding a new thread running in the background that will periodically (60s by default) send a bdev_get_bdevs RPC and check that all previously attached volumes are available. If any of them are not, it'll remove it and stop the associated discovery services (if their refcount goes down to zero). The period can be changed through the `volume_cleanup_period` variable in the config file.
One important thing to note is that we assume that any intermittent connection issues are handled internally by the SPDK application and a bdev is only removed after all reconnection attempts are performed.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I5b9e63698879527d9f79156a0eda1c8bc5e66def Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12699 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|