git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Retry attempts to acquire the packed-refs lock
@ 2015-05-11 10:35 Michael Haggerty
  2015-05-11 10:35 ` [PATCH v2 1/2] lockfile: allow file locking to be retried with a timeout Michael Haggerty
  2015-05-11 10:35 ` [PATCH v2 2/2] lock_packed_refs(): allow retries when acquiring the packed-refs lock Michael Haggerty
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Haggerty @ 2015-05-11 10:35 UTC (permalink / raw)
  To: Junio C Hamano
  Cc: Stefan Beller, Jeff King, Johannes Sixt, git, Michael Haggerty

This is a re-roll of [1]. The only change is the addition of a "wait"
in the test to avoid an unlikely race between the lockfile-removing
subprocess and the attempt by the outer layer of the test to delete
the test directory.

Thanks to Hannes, Stefan, and Peff for their comments about v1.

Michael

[1] http://thread.gmane.org/gmane.comp.version-control.git/268137

Michael Haggerty (2):
  lockfile: allow file locking to be retried with a timeout
  lock_packed_refs(): allow retries when acquiring the packed-refs lock

 Documentation/config.txt |  6 ++++
 lockfile.c               | 79 ++++++++++++++++++++++++++++++++++++++++++++++--
 lockfile.h               | 16 ++++++++--
 refs.c                   | 12 +++++++-
 t/t3210-pack-refs.sh     | 17 +++++++++++
 5 files changed, 125 insertions(+), 5 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-11 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-11 10:35 [PATCH v2 0/2] Retry attempts to acquire the packed-refs lock Michael Haggerty
2015-05-11 10:35 ` [PATCH v2 1/2] lockfile: allow file locking to be retried with a timeout Michael Haggerty
2015-05-11 10:35 ` [PATCH v2 2/2] lock_packed_refs(): allow retries when acquiring the packed-refs lock Michael Haggerty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).