]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-cli/fabrics: Add ctrl-loss-tmo param to connect cmd
authorNitzan Carmi <nitzanc@mellanox.com>
Sun, 13 Aug 2017 15:45:04 +0000 (18:45 +0300)
committerKeith Busch <keith.busch@intel.com>
Mon, 14 Aug 2017 19:18:44 +0000 (15:18 -0400)
commit82bbba31ec7c146411057372cac9ff46f5766829
tree9fd818c4000b93d98e0ff5c3dbbef6e50f33124a
parent2dbbf8a0a3ffa385ccaadf73e2a3296b06975193
nvme-cli/fabrics: Add ctrl-loss-tmo param to connect cmd

Added 'ctrl-loss-tmo' to 'connect' command so users can specify the
controller lost timeout period.

usage examples:
nvme connect --ctrl-loss-tmo=0 --transport=rdma --traddr=10.0.1.1 --nqn=test-nvme
nvme connect -l 0 -t rdma -a 10.0.1.1 -n test_nvme

Signed-off-by: Nitzan Carmi <nitzanc@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
fabrics.c