]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
zns: print select_all field for Zone Management Send
authorMinwoo Im <minwoo.im.dev@gmail.com>
Thu, 14 Jan 2021 13:52:52 +0000 (22:52 +0900)
committerKeith Busch <kbusch@kernel.org>
Tue, 26 Jan 2021 21:21:18 +0000 (14:21 -0700)
commit2e563a6cb3ae851a9a0444458cf4ce76cfc4062a
tree43684178ed43549747c326a385607092c2d8d840
parentdf6090a1e7f659e6de5e5c2745badfbcfc8df3f6
zns: print select_all field for Zone Management Send

If Select All field in CDW13 is set to 1, SLBA(Starting LBA) will be
ignored.  This patch added a select all field to print out when
successfully done.  More informative success log with this field.

Example:
  # nvme zns reset-zone /dev/nvme0n1 -s 0 -a
  zns-reset-zone: Success, action:4 zone:0 all:1 nsid:1

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
plugins/zns/zns.c