]> nv-tegra.nvidia Code Review - linux-2.6.git/commit - include/scsi/scsi_transport_iscsi.h
[SCSI] iscsi: fix command requeues during iscsi recovery
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 19 May 2006 01:31:42 +0000 (20:31 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 20 May 2006 14:36:17 +0000 (09:36 -0500)
commit656cffc95f0cb8211aa75eaca249e6ff4f59ec83
tree7b10e224ef3ac140570101ed98c918949863995b
parent790f39a2d5f03623b027f340b945f135d006ceba
[SCSI] iscsi: fix command requeues during iscsi recovery

Do not flush queues then block session. This will cause commands
to needlessly swing around on us and remove goofy
recovery_failed field and replace with state value.

And do not start recovery from within the host reset function.
This causeis too many problems becuase open-iscsi was desinged to
call out to userspace then have userpscae decide if we should
go into recovery or kill the session.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libiscsi.c
include/scsi/libiscsi.h
include/scsi/scsi_transport_iscsi.h