Thanks Christof.
Acked-by: James Smart <james.smart@xxxxxxxxxx>
-- james s
Christof Schmitt wrote:
On Fri, Oct 23, 2009 at 10:50:15AM -0400, James Smart wrote:
Christof Schmitt wrote:
It looks to me like this is required to prevent offline SCSI devices
in this case. Should this code be in a FC transport helper function
rather than being duplicated in each FC LLD?
That would make sense....
-- james s
Here is a patch for this. It is only compile tested on x86, but the
code move is fairly trivial.
Christof
---
scsi_transport_fc: Introduce helper function for blocking scsi_eh
From: Christof Schmitt <christof.schmitt@xxxxxxxxxx>
Move the duplicated code from FC LLDs to SCSI FC transport class.
Signed-off-by: Christof Schmitt <christof.schmitt@xxxxxxxxxx>
---
drivers/scsi/fnic/fnic_scsi.c | 20 ++------------------
drivers/scsi/lpfc/lpfc_scsi.c | 30 ++++--------------------------
drivers/scsi/qla2xxx/qla_os.c | 25 ++++---------------------
drivers/scsi/scsi_transport_fc.c | 26 ++++++++++++++++++++++++++
include/scsi/scsi_transport_fc.h | 1 +
5 files changed, 37 insertions(+), 65 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html