Re: [PATCH] SCSI IOCTL: Check for device deletion [was Re:__elv_add_request OOPS]

From: Linus Torvalds
Date: Wed May 25 2011 - 16:34:55 EST


On Wed, May 25, 2011 at 1:18 PM, Parag Warudkar <parag.lkml@xxxxxxxxx> wrote:
>        SDEV_OFFLINE,           /* Device offlined (by error handling or
>                                 * user request */

So how do you fix the error or online it again? No chance it should
have commands passed to it to do that?

I don't know. My point is that I don't see why we should look at the
state at this point at all. We do that _later_.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/