Skip to contentSkip to conversation

NVME-CLI and Metadata

SPDK Ruslan R. Laishev 2 participants 2 messages Jul 4, 2022 – Jul 5, 2022

lore
Share & tools
lore

Ruslan R. Laishev

author
#0 lore raw
#1 lore raw

Can you submit a github issue in Issues · spdk/spdk (github.com)<https://github.com/spdk/spdk/issues>? thanks.

From: Ruslan R.Laishev <zator(a)yandex.ru>
Sent: Monday, July 4, 2022 3:33 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] NVME-CLI and Metadata

Hello, Everyone!I
have tried to test my SPDK app with the nvme-cli utility, as a part of testing we need to pass metadata from nvme-cli to SPDK's BDev (it's my application). so for test we use:

nvme write /dev/nvme0n1 --start-block=0 --data-size=262656 --data=/dev/random --metadata=md --metadata-size=4

In driver I expect to see has been passed metadata in the field :bdev_io->u.bdev.md_buf or
bdev_io->u.nvme_passthru.md_bufBut the both fields are NULL in the 'bdev_io' .

So, whatI'm need to check additionaly ?
TIA!

---
С уважением,
Ruslan R. Laishev
OpenVMS bigot, natural born system/network progger, C contractor. +79013163222
+79910009922