[PATCH 0 of 1 ] Wrong distance calculation in revlog causes huge manifests

Matt Mackall mpm at selenic.com
Thu Jul 12 12:39:35 CDT 2012


On Thu, 2012-07-12 at 16:34 +0200, Noel Grandin wrote:
> On 2012-07-12 16:13, Matt Mackall wrote:
> > Could be done, if we weren't using Python and there was a nice 
> > portable AIO interface.

Actually, I was (too subtly, as usual) referring to the fact that every
operating system has a different AIO interface, if they support it at
all, not suggesting that a wrapper library was an acceptable solution.
Most operating systems' AIO implementations are an afterthought and not
worth the trouble of using.

Instead, we should just bite the bullet and do multiple reads the
old-fashioned way when we hit a situation where the I/O window would be
unreasonably large and start hoping people have SSDs.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list