[SPDK] Re: NVME-CLI and Metadata
Liu, Changpeng <changpeng.liu at intel.com> Tue, 05 Jul 2022 08:27:20 +0000
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <PH0PR11MB5093DD30B58D33A04434F8DDEE819@PH0PR11MB5093.namprd11.prod.outlook.com> |
--===============6961652020215974898== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Can you submit a github issue in Issues =C2=B7 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 test= ing we need to pass metadata from nvme-cli to SPDK's BDev (it's my applicat= ion). so for test we use: nvme write /dev/nvme0n1 --start-block=3D0 --data-size=3D262656 --data=3D/de= v/random --metadata=3Dmd --metadata-size=3D4 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! --- =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, Ruslan R. Laishev OpenVMS bigot, natural born system/network progger, C contractor. +79013163222 +79910009922 --===============6961652020215974898==--