Re: [PATCH] powerpc/eeh: remove eeh_event_handler()->daemonize()

From: Tejun Heo
Date: Tue Aug 16 2011 - 15:29:25 EST


Hello,

On Tue, Aug 16, 2011 at 02:24:12PM -0500, Linas Vepstas wrote:
> BTW, if someone wants to tackle a big, difficult project, one would be
> to untangle the mess that happens when the hardware underneath an
> active block device dies. Currently, the kernel will deadlock in
> umpteen zillion places waiting for blocks and files that will never
> arrive.

Umm... that has been working fine for SCSI and ATA for years now.
Just aborting pending commands and freeing the device should do it.
Drivers need to take care of driver specific resources (per-req and
per-dev) but that's not different from aborting timed out commands.
What's missing for your use case?

Thanks.

--
tejun
--
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/