]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target: Don't force session reset if queue_depth does not change
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 25 Apr 2017 20:52:45 +0000 (13:52 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 5 May 2017 03:01:40 +0000 (20:01 -0700)
commit46861cdd80e1a862dc65d10833a1450861fabef7
tree53c310cf99dfbcc6a5aea3c9b199c263211cac8e
parent197b806ae5db60c6f609d74da04ddb62ea5e1b00
target: Don't force session reset if queue_depth does not change

Keeping in the idempotent nature of target_core_fabric_configfs.c,
if a queue_depth value is set and it's the same as the existing
value, don't attempt to force session reinstatement.

Reported-by: Raghu Krishnamurthy <rk@datera.io>
Cc: Raghu Krishnamurthy <rk@datera.io>
Tested-by: Gary Guo <ghg@datera.io>
Cc: Gary Guo <ghg@datera.io>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_tpg.c