All of lore.kernel.org
 help / color / mirror / Atom feed
* [SPDK] Using of Compression VBDEV
@ 2021-09-13  8:42 Ruslan Laishev
  0 siblings, 0 replies; only message in thread
From: Ruslan Laishev @ 2021-09-13  8:42 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]

Hello!
I have created "Compression VBDEV" on top of Malloc0 BDEV.
$ sudo /data/devadm/spdk/scripts/rpc.py bdev_compress_create -p ./pmem_files -b "CryMalloc0A"
COMP_CryMalloc0A
$sudo /data/devadm/spdk/scripts/rpc.py vhost_scsi_controller_add_target vhost.0 0 COMP_CryMalloc0A
0


When I try to execute "mkfs /dev/sda"  (where /dev/sda is the COMP_Malloc0 ) in the inner VM I got error on the VHOST's output:

[2021-09-13 11:32:51.759692] vbdev_compress.c: 811:_comp_bdev_io_submit: *ERROR*: Unknown I/O type 4
[2021-09-13 11:32:51.759741] vbdev_compress.c: 822:_comp_bdev_io_submit: *ERROR*: on bdev_io submission!
...

Is there what I'm need to check ?
Thanks in advance!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-13  8:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13  8:42 [SPDK] Using of Compression VBDEV Ruslan Laishev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.