]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
support a meatadata file redirection for passthru
authorKeith Busch <kbusch@kernel.org>
Tue, 4 Jan 2022 17:02:55 +0000 (09:02 -0800)
committerKeith Busch <kbusch@kernel.org>
Fri, 7 Jan 2022 17:28:49 +0000 (09:28 -0800)
commitfb15eee3d72beb35aa268939e5e6debf457302b7
treedb8e077576fb48f3ae3671a8c10b77d3ff342345
parent485cfe9477127be80444900232105c87e656b403
support a meatadata file redirection for passthru

The passthrough command provided a way to specific a metadata size, but
no way to save or set the data from a file. Provide an option so this is
allowed.

While we're here, it looks like the passthrough command only supported
file redirection for data-out commands. Go ahead and fix that with this
commit since the metadata needs to go both ways too.

Link: https://github.com/linux-nvme/nvme-cli/issues/1298
Signed-off-by: Keith Busch <kbusch@kernel.org>
nvme.c