Re: [RFC][PATCH] add blockconsole
From: JÃrn Engel
Date: Wed Apr 25 2012 - 11:24:48 EST
On Wed, 25 April 2012 09:42:39 -0400, Jeff Moyer wrote:
>
> Neat idea, but I'm curious to know how it works when the system panics
> and you no longer can schedule the writeback thread. What are the
> limitations you've seen in practice?
If the writeback thread doesn't get scheduled, you lose that
information. Formerly I did the submit_bio directly, but lockdep
reminded me that I shouldn't do so from interrupt context. Bummer.
Also, this is pretty young code so far. We are starting to deploy it
in numbers just about now. The obvious hope is that it will record a
non-zero class of problems that doesn't make it to syslog. And the
obvious fear is that it will fail to record another non-zero class of
problems. As to the extend of those two classes, we just don't have
good data yet.
But as they say, release early, release often, and hope some reviewer
finds a bug you can fix before having to debug it the hard way. ;)
JÃrn
--
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/