Hello community,

here is the log from the commit of package nvme-cli for openSUSE:Factory 
checked in at 2018-05-08 13:37:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvme-cli (Old)
 and      /work/SRC/openSUSE:Factory/.nvme-cli.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nvme-cli"

Tue May  8 13:37:36 2018 rev:26 rq:604707 version:1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/nvme-cli/nvme-cli.changes        2018-04-16 
12:48:43.293696151 +0200
+++ /work/SRC/openSUSE:Factory/.nvme-cli.new/nvme-cli.changes   2018-05-08 
13:37:42.712747742 +0200
@@ -1,0 +2,6 @@
+Wed May  2 07:49:52 UTC 2018 - jthumsh...@suse.com
+
+- Add keep-alive-tmo option to connect-all command (bsc#1090568)
+  + 0005-fabrics-add-option-to-supply-keep-alive-timeout-for.patch
+
+-------------------------------------------------------------------

New:
----
  0005-fabrics-add-option-to-supply-keep-alive-timeout-for.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nvme-cli.spec ++++++
--- /var/tmp/diff_new_pack.VA6ZAQ/_old  2018-05-08 13:37:43.632714538 +0200
+++ /var/tmp/diff_new_pack.VA6ZAQ/_new  2018-05-08 13:37:43.632714538 +0200
@@ -33,6 +33,7 @@
 Patch2:         0002-nvme-cli-add-netapp-smdevices-man-page.patch
 Patch3:         0003-get-log-Make-log-identifier-a-required-parameter.patch
 Patch4:         0004-Documentation-add-manpage-entry-for-connect-s-ctrl-l.patch
+Patch5:         0005-fabrics-add-option-to-supply-keep-alive-timeout-for.patch
 
 %description
 NVM Express (NVMe) is a direct attached storage interface. The
@@ -45,6 +46,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 echo %{version} > version

++++++ 0005-fabrics-add-option-to-supply-keep-alive-timeout-for.patch ++++++
From: Johannes Thumshirn <jthumsh...@suse.de>
Date: Wed, 25 Apr 2018 11:49:23 -0600
Subject: fabrics: add option to supply keep-alive-timeout for connect-all
References: bsc#1090568
Git-commit: 7099227b07a86f152fa62b9a96f77a2f3e22f59f
Patch-mainline: v1.6

Currently we can't supply a keep-alive-timeout when doing a nvme
connect-all, but we can supply it when doing nvme connect.

Bring connect-all in line with connect.

Signed-off-by: Johannes Thumshirn <jthumsh...@suse.de>
Signed-off-by: Keith Busch <keith.bu...@intel.com>
---
 Documentation/nvme-connect-all.txt | 5 +++++
 fabrics.c                          | 1 +
 2 files changed, 6 insertions(+)

diff --git a/Documentation/nvme-connect-all.txt 
b/Documentation/nvme-connect-all.txt
index 03adac5..217268f 100644
--- a/Documentation/nvme-connect-all.txt
+++ b/Documentation/nvme-connect-all.txt
@@ -14,6 +14,7 @@ SYNOPSIS
                [--trsvcid=<trsvcid>      | -s <trsvcid>]
                [--host-traddr=<traddr>   | -w <traddr>]
                [--hostnqn=<hostnqn>      | -q <hostnqn>]
+               [--keep-alive-tmo=<#>     | -k <#>]
                [--raw=<filename>         | -r <filename>]
 
 DESCRIPTION
@@ -86,6 +87,10 @@ OPTIONS
        Overrides the default number of elements in the I/O queues created
        by the driver.
 
+-k <#>::
+--keep-alive-tmo=<#>::
+       Overrides the default keep alive timeout (in seconds).
+
 EXAMPLES
 --------
 * Connect to all records returned by the Discover Controller with IP4 address
diff --git a/fabrics.c b/fabrics.c
index 62bd3be..7e9d56c 100644
--- a/fabrics.c
+++ b/fabrics.c
@@ -821,6 +821,7 @@ int discover(const char *desc, int argc, char **argv, bool 
connect)
                {"queue-size",  'Q', "LIST", CFG_STRING, &cfg.queue_size,  
required_argument, "number of io queue elements to use (default 128)" },
                {"nr-io-queues",'i', "LIST", CFG_STRING, 
&cfg.nr_io_queues,required_argument, "number of io queues to use (default is 
core count)" },
                {"raw",         'r', "LIST", CFG_STRING, &cfg.raw,         
required_argument, "raw output file" },
+               {"keep-alive-tmo",  'k', "LIST", CFG_STRING, 
&cfg.keep_alive_tmo,  required_argument, "keep alive timeout period in seconds" 
},
                {NULL},
        };
 

Reply via email to