Re: [] Kernel coredump to a pipe is failing

From: Andi Kleen
Date: Tue May 26 2009 - 19:08:14 EST

On Tue, May 26, 2009 at 04:00:17PM -0700, Andrew Morton wrote:
> dump_write() doesn't seem right, either. If ->write() returns, say,
> 100 then the dump should keep on going. At present it treats this
> return as an error.

I think that's correct actually. Short write typically means serious
issue like disk full or broken pipe, so stopping is good.

> I wonder why the signal problem has just turned up now - did we change
> the pipe code or something?

No idea.


ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at