git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] Work around too many file descriptors

From
Shawn O. Pearce <spearce@spearce.org>
Date
Nov 1, 2010, 22:54 UTC
Message-ID
<1288652061-19614-1-git-send-email-spearce@spearce.org>

This tiny series tries to work around not having enough file descriptors to open every pack in a repository. It is the logical conclusion of Johannes Schindelin's commit fd73ccf2 ("Cope better with a _lot_ of packs").

The patch was prepared on top of gitster's recent two changes to improve error handling in read_sha1_file().

Shawn O. Pearce (2):
  Use git_open_noatime when accessing pack data
  Work around EMFILE when there are too many pack files
 sha1_file.c |   43 ++++++++++++++++++++++++++++---------------
 1 files changed, 28 insertions(+), 15 deletions(-)
-- 
1.7.3.2.191.g2d0e5
Next: Shawn O. Pearce
Message 1 of 11 in “Work around too many file descriptors”
  1. 0/2 Work around too many file descriptorsShawn O. Pearce, Nov 1, 2010
  2. 1/2 Use git_open_noatime when accessing pack dataShawn O. Pearce, Nov 1, 2010
  3. Junio C HamanoNov 3, 2010
  4. Jonathan NiederNov 3, 2010
  5. Junio C HamanoNov 3, 2010
  6. Jonathan NiederNov 4, 2010
  7. Kevin BallardNov 4, 2010
  8. Junio C HamanoNov 5, 2010
  9. 2/2 Work around EMFILE when there are too many pack filesShawn O. Pearce, Nov 1, 2010
  10. Johannes SixtNov 2, 2010
  11. Junio C HamanoNov 3, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.