]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-copy: support cross-namespace copy
authorJoy Gu <jgu@purestorage.com>
Wed, 25 Oct 2023 20:38:25 +0000 (13:38 -0700)
committerDaniel Wagner <wagi@monom.org>
Tue, 7 Nov 2023 08:00:08 +0000 (09:00 +0100)
commit36b672272d9d816455801c7fb51191ccfa35f69e
treedafbdceef1a0fd2566efecd0fe89030ac683d811
parent18fe142e9381a570f382d77ce33bb7fa05cd390c
nvme-copy: support cross-namespace copy

Add support for NVMe TP4130 ("Cross-Namespace Copy")
- Add Copy Descriptor Formats 2h and 3h
- Add "--snsids" option to specify source namespaces to copy from
- Add "--sopts" option to specify source options (Fast Copy Only)
- Print new Host Behavior Support bits, new ONCS bits, and new Optional
  Copy Formats Supported bits
- Extend unit test case to test cross-namespace copy formats
Documentation/nvme-copy.txt
libnvme-wrap.c
nvme-print-stdout.c
nvme.c
tests/nvme_copy_test.py
tests/nvme_test.py