[sheepdog] [PATCH] sheep: lock against concurrent access to the log file

Christoph Hellwig hch at infradead.org
Fri May 18 15:53:28 CEST 2012


On Fri, May 18, 2012 at 09:49:11PM +0800, Liu Yuan wrote:
> On 05/18/2012 07:44 PM, Christoph Hellwig wrote:
> 
> > I'm currently debugging a problem where a logger stays around even after the
> > sheep was killed.  Lock access to the log file to make debugging cases like
> > this easier.
> 
> 
> I think this is a bug, we need to fix it instead of setting up a guard
> in logger.

The think is overwriting the log from a second process makes it really
hard to debug problems..




More information about the sheepdog mailing list