[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1173369759.3683.1.camel@mulgrave.il.steeleye.com>
Date: Thu, 08 Mar 2007 08:02:39 -0800
From: James Bottomley <James.Bottomley@...elEye.com>
To: Joe Jin <joe.jin@...cle.com>
Cc: akpm@...l.org, dgilbert@...erlog.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, haobo.zhou@...cle.com
Subject: Re: [PATCH] [scsi]: Add offline state checking while dispatch a
scsi cmd
On Thu, 2007-03-08 at 17:22 +0800, Joe Jin wrote:
> While a scsi device hw error occured, device's status maybe setting
> to SDEV_OFFLINE, So at scsi_dispatch_cmd function, we should checking
> if device have offline, if yes, do nothing and just return error to
> user directly.
What's the error you're trying to fix? scsi_dispatch_cmd() is only
called from scsi_request_fn() which already has an equivalent of this
check in it just prior to calling dispatch.
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists