Re: Request for detailed documentation of git pack protocol
- From
Andreas Ericsson <ae@op5.se>
- Date
- May 14, 2009, 15:02 UTC
- Message-ID
- <4A0C3282.4000101@op5.se>
- In-Reply-To
- <20090514145724.GE30527@spearce.org>
Shawn O. Pearce wrote:
Show 8 quoted lines
> > In loopback mode for local file URIs, it may become an issue. C Git > is just getting lucky by the pipe size I think. Though I thought I > read somewhere yesterday pipe FIFOs in Linux were being allocated > at 512 bytes, not one system page. Of course other systems could > allocate whatever size they want too, and may allocate something > below the 2952 minimum, and we'd most likely see a deadlock on them. >
Linux allocates one page 4096 bytes for a FIFO. 512 is the maximum size guaranteed by POSIX to result in an atomic write.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm http://nordicmeetonnagios.op5.org/ Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace.