Protection information support for xnvme ioengine
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | engines/xnvme: allocate iovecs only if vectored I/O is enabledengines/ | +9 | 0 replies | |
| 2/5 | engines/xnvme: add support for metadataHOWTO.rst configure engines/ +1 more | +114 | 0 replies | |
| 3/5 | engines:xnvme: add support for end to end data protectionHOWTO.rst engines/ fio.1 | +153 | 0 replies | |
| 4/5 | engines/xnvme: add checks for verify, block size and metadata sizeengines/ | +49 | 2 replies | |
| 5/5 | examples: add PI example with xnvme ioengineexamples/ examples/ | +53 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jens Axboe |
|---|---|
| Series | R-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Protection information support for xnvme ioengine
This series enables protection information support with xnvme ioengine. The support is provided with the kernel backends that can handle passthrough commands via nvme character device (/dev/ngXnY), or with user space nvme drivers such as SPDK and libvfn.
The initial patch adds support for metadata buffer. As we are unaware of metadata size during metadata buffer allocation, we provide an option md_per_io_size. This must be used to specify metadata size for single IO, if namespace is formatted with separate metadata buffer.
This then enables the protection information support with and without PRACT bit set for both DIF and DIX cases. The support only covers 16-bit and 64-bit guard protection information format, without storage tags.
For the sake of consistency metadata and protection information specific options are the same as the ones used by io_uring_cmd ioengine and SPDK's external ioengine.
Ankit Kumar (5):
engines/xnvme: allocate iovecs only if vectored I/O is enabled engines/xnvme: add support for metadata
engines:xnvme: add support for end to end data protection engines/xnvme: add checks for verify, block size and metadata size
examples: add PI example with xnvme ioengine
HOWTO.rst | 10 +- configure | 2 +- engines/xnvme.c | 331 +++++++++++++++++++++++++++++++++++++++--- examples/xnvme-pi.fio | 53 +++++++ examples/xnvme-pi.png | Bin 0 -> 71285 bytes fio.1 | 10 +- 6 files changed, 378 insertions(+), 28 deletions(-) create mode 100644 examples/xnvme-pi.fio create mode 100644 examples/xnvme-pi.png
Signature · 1 line
2.25.1