Thread (1 message) 1 message, 1 author, 2004-01-23

Re: [PATCH 2.6] md debug fixes

From: Neil Brown <hidden>
Date: 2004-01-23 00:23:41

On Thursday January 22, Paul.Clements@SteelEye.com wrote:
Hi Neil,

While running md with debug turned on, I noticed a couple of things that
could maybe use changing. 

The first change simply makes one of the debug messages a little more
useful (printing a thread's name rather than just a hex pointer value). 

The second fix is necessary to avoid an oops when md_error is called.
Because md_error is generally called when a device has failed, the
chance of the rdev parameter being NULL is fairly high. I hit this oops
several times in testing.

Patch attached, please apply.
I've submitted it for 2.6.  I don't think I'll bother for 2.4

Thanks,
NeilBrown
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help