mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Linas Vepstas <linasvepstas@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	Matt Fleming <matt@console-pimps.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] powerpc/eeh: remove eeh_event_handler()->daemonize()
Date: Tue, 16 Aug 2011 21:29:18 +0200	[thread overview]
Message-ID: <20110816192918.GC2803@mtj.dyndns.org> (raw)
In-Reply-To: <CAHrUA357c2eCq=VkZwL97-nK7Kopzfj84gSESxebhL_P7rCurw@mail.gmail.com>

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

  reply	other threads:[~2011-08-16 19:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 19:08 Oleg Nesterov
2011-08-16 19:17 ` Benjamin Herrenschmidt
2011-08-16 19:24 ` Linas Vepstas
2011-08-16 19:29   ` Tejun Heo [this message]
2011-08-16 21:38     ` Linas Vepstas
2011-08-16 19:26 ` Tejun Heo
2011-08-17 17:27   ` Oleg Nesterov
2011-08-18  7:34     ` Tejun Heo
2011-08-16 21:27 ` Matt Fleming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110816192918.GC2803@mtj.dyndns.org \
    --to=tj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=benh@kernel.crashing.org \
    --cc=linasvepstas@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt@console-pimps.org \
    --cc=oleg@redhat.com \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome