Re: [PATCH 0/5] Avoid file descriptor exhaustion in ref_transaction_commit()
Michael Haggerty <mhagger@alum.mit.edu> writes:
> In ref_transaction_commit(), close the reference lockfiles immediately
> to avoid keeping too many file descriptors open at a time. This is
> pretty easy, because in the first loop (where we create the locks) we
> already know what, if anything, has to be written into the lockfile.
Nicely analysed and beautifully executed. I like it.
Show 5 quoted lines
> This patch series applies on top of Stefan's
>
> c1f0ca9 refs.c: remove lock_fd from struct ref_lock (2015-04-16)
>
> and it fixes two tests that Stefan introduced earlier in that series.