fabrics: permit kato int argument for discovery controllers
PATCH 1/1 fabrics: permit kato int argument for discovery controllers
Given discovery controllers can now accept integer arguments for kato, permit the same in build_options().
--- fabrics.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
fabrics.c +2 -3
@@ -896,9 +896,8 @@ static int build_options(char *argstr, int max_len, bool discover) (!discover &&add_int_argument (&argstr, &max_len,"queue_size" , cfg.queue_size, false)) || - (!discover && -add_int_argument (&argstr, &max_len,"keep_alive_tmo" , - cfg.keep_alive_tmo, false)) || +add_int_argument (&argstr, &max_len,"keep_alive_tmo" , + cfg.keep_alive_tmo, false) ||add_int_argument (&argstr, &max_len,"reconnect_delay" , cfg.reconnect_delay, false) || add_int_argument(&argstr, &max_len, "ctrl_loss_tmo",
Signature · 7 lines
2.30.0 _______________________________________________ Linux-nvme mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-nvme
Quoted 15 lines · Martin George
Given discovery controllers can now accept integer arguments for kato, permit the same in
build_options().Signed-off-by Martin George <[email protected]>--- fabrics.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)fabrics.c +0
-0@@ -896,9 +896,8 @@ static int build_options(char *argstr, int max_len, bool discover) (!discover &&
fabrics.c static int build_options(char *argstr, int max_len, bool discover) · line 903
Quoted 10 lines
fabrics.c +2
-3add_int_argument (&argstr, &max_len,"queue_size" , cfg.queue_size, false)) || - (!discover && -add_int_argument (&argstr, &max_len,"keep_alive_tmo" , - cfg.keep_alive_tmo, false)) || +add_int_argument (&argstr, &max_len,"keep_alive_tmo" , + cfg.keep_alive_tmo, false) ||add_int_argument (&argstr, &max_len,"reconnect_delay" , cfg.reconnect_delay, false) || add_int_argument(&argstr, &max_len, "ctrl_loss_tmo",
Martin, you probably have to resend it via a pull request to the github repository.
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke Kernel Storage Architect [email protected] +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer _______________________________________________ Linux-nvme mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-nvme
Keith Busch
maintainerQuoted 28 lines · Hannes Reinecke
Quoted 15 lines · Martin George
Given discovery controllers can now accept integer arguments for kato, permit the same in
build_options().Signed-off-by Martin George <[email protected]>--- fabrics.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)fabrics.c +0
-0@@ -896,9 +896,8 @@ static int build_options(char *argstr, int max_len, bool discover) (!discover &&fabrics.c static int build_options(char *argstr, int max_len, bool discover) · line 903
Quoted 10 lines
fabrics.c +2
-3add_int_argument (&argstr, &max_len,"queue_size" , cfg.queue_size, false)) || - (!discover && -add_int_argument (&argstr, &max_len,"keep_alive_tmo" , - cfg.keep_alive_tmo, false)) || +add_int_argument (&argstr, &max_len,"keep_alive_tmo" , + cfg.keep_alive_tmo, false) ||add_int_argument (&argstr, &max_len,"reconnect_delay" , cfg.reconnect_delay, false) || add_int_argument(&argstr, &max_len, "ctrl_loss_tmo",Reviewed-by Hannes Reinecke <[email protected]>
Quoted 2 lines
Martin, you probably have to resend it via a pull request to the github repository.
Not necessary, I am totally okay with applying these direct from the mailing list.
Thanks for the review, patch is already applied!
_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme