tcmu: make ring buffer timer configurable
authorMike Christie <mchristi@redhat.com>
Tue, 28 Nov 2017 18:40:40 +0000 (12:40 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 12 Jan 2018 23:07:19 +0000 (15:07 -0800)
commit9103575ae34e9d60d40940bebf47fc9e9652067a
treec4b6876c6ec96498a9ab435e8091a07ed49a617b
parentaf1dd7ff46824a94da1d90443bd07db2796bd545
tcmu: make ring buffer timer configurable

This adds a timer, qfull_time_out, that controls how long a
device will wait for ring buffer space to open before
failing the commands in the queue. It is useful to separate
this timer from the cmd_time_out and default 30 sec one,
because for HA setups cmd_time_out may be disbled and 30
seconds is too long to wait when some OSs like ESX will
timeout commands after as little as 8 - 15 seconds.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c