Spdk/python/spdk/rpc
Shuhei Matsumoto 00bff560dd bdev/malloc: Support protection information for read and write
For write, verify DIF/DIX before submission and for read, verify
DIF/DIX after successful completion.

As same as the NVMe bdev module and the NULL bdev module, DIF/DIX
verification is done based on the DIF type and DIF insert/strip is
not supported.

In near future, the bdev I/O APIs bring an I/O flag to the underlying
bdev and the malloc bdev module will be able to decide DIF/DIX
verification based on the I/O flag.

One important feature is to setup protection information when
creating a malloc disk. Otherwise, all initial reads will fail
if protection information is enabled.

For users, add some explanation about the dif_type parameter
into doc/jsonrpc.md.

Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Change-Id: I93757b77c03cade766c872e418bb46d44918bee2
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14985
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2022-10-28 06:49:40 +00:00
..
__init__.py lib/vfu_tgt: add library for PCI device emulation 2022-09-29 19:42:56 +00:00
accel.py accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
app.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
bdev.py bdev/malloc: Support protection information for read and write 2022-10-28 06:49:40 +00:00
blobfs.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
client.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
cmd_parser.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
dsa.py accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
env_dpdk.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
helpers.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
iaa.py accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
ioat.py accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
iscsi.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
log.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
lvol.py blobstore: add RPC for growing blobstore 2022-06-28 17:55:43 +00:00
nbd.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
notify.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
nvme.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
nvmf.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
pmem.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
sock.py sock/ssl: Add psk_key and psk_identity options to spdk_sock_impl_opts 2022-08-15 16:52:28 +00:00
subsystem.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
trace.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
vfio_user.py module/vfu_device: add virtio-scsi emulation 2022-09-29 19:42:56 +00:00
vhost.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
vmd.py vmd: method for forcing a rescan 2022-09-01 08:48:32 +00:00