]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target: Introduce a function that shows the command state
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 23 May 2017 23:48:28 +0000 (16:48 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Jul 2017 05:58:04 +0000 (22:58 -0700)
commitc00e6220231542c6409780a3e9bfa44be7d94f3a
tree461a6701dccb42b2a5114613cc2d9b6306ebb0e0
parent03db016a1bf2d35f41c08aad2ca4f4f18eeda4be
target: Introduce a function that shows the command state

Introduce target_show_cmd() and use it where appropriate. If
transport_wait_for_tasks() takes too long, make it show the
state of the command it is waiting for.

(Add missing brackets around multi-line conditions - nab)

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andy Grover <agrover@redhat.com>
Cc: David Disseldorp <ddiss@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_tmr.c
drivers/target/target_core_transport.c
include/target/target_core_fabric.h