Re: GIT get corrupted on lustre
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 23, 2013, 17:23 UTC
- Message-ID
- <20130123172316.GA3238@elie.Belkin>
- In-Reply-To
- <871udbc3af.fsf@pctrast.inf.ethz.ch>
Thomas Rast wrote:
Show 5 quoted lines
> Taken together this should mean that the bug is in fact simply that the > calls do not *restart*. They are (like you say) allowed to return EINTR > despite not being specified to, *but* SA_RESTART should restart it. > > Now, does that make it a lustre bug or a glibc bug? :-)
The kernel takes care of SA_RESTART, if I remember correctly. (See arch/x86/kernel/signal.c::handle_signal() case -ERESTARTSYS.)