2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 22:53:55 +08:00
linux-next/drivers/target/tcm_fc
Nicholas Bellinger 6dbe7f4e97 tcm_fc: Generate TASK_SET_FULL status for response failures
This patch changes ft_queue_status() to set SAM_STAT_TASK_SET_FULL
status upon lport->tt.seq_send( failure, and return -EAGAIN to notify
target-core to attempt to requeue the response.

It also does the same for a fc_frame_alloc() failures, in order to
signal the initiator that it should try to reduce it's current
queue_depth, to lower the number of outstanding I/Os on the wire.

Reported-by: Vasu Dev <vasu.dev@linux.intel.com>
Reviewed-by: Vasu Dev <vasu.dev@linux.intel.com>
Cc: Jun Wu <jwu@stormojo.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2014-06-06 14:20:51 -07:00
..
Kconfig [SCSI] tcm_fc: Adding FC_FC4 provider (tcm_fc) for FCoE target (TCM - target core) support 2011-05-17 10:52:46 +04:00
Makefile tcm_fc: Makefile cleanups 2011-07-22 09:37:47 +00:00
tcm_fc.h target/tcm_fc: Rename structs and list members for clarity 2014-04-11 15:30:51 -07:00
tfc_cmd.c tcm_fc: Generate TASK_SET_FULL status for response failures 2014-06-06 14:20:51 -07:00
tfc_conf.c target/tcm_fc: Rename ft_{add,del}_lport to {add,del}_wwn 2014-04-11 15:30:51 -07:00
tfc_io.c tcm_fc: Generate TASK_SET_FULL status for DataIN failures 2014-06-06 14:20:23 -07:00
tfc_sess.c target/tcm_fc: Rename ft_tport_create to ft_tport_get 2014-04-11 15:30:52 -07:00