Re: [PATCH 0/4] object-file: eagerly create ODB transaction temporary directory
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Nov 11, 2026, 14:33 UTC
- Message-ID
- <CAOLa=ZTDxY6dJL0ctDtexJpkGE6YxEPo6SEa55aPrF+2VZg1VQ@mail.gmail.com>
- In-Reply-To
- <20261110002251.2007617-1-jltobler@gmail.com>
Justin Tobler <jltobler@gmail.com> writes:
> Greetings, > > This series continues work for the "files" ODB transactions and makes it > so the underlying transaction temporary directory is created eagerly.
Without knowing enough, my first question would be 'why'. Over the top, 'lazily' seems to be a good way to go about this. Hopefully the individual commits explain this.
Show 14 quoted lines
> Previously, by default, it would wait for the first object write to > lazily create the temporary object directory. Furthermore, this series > also ensures that objects are written to the temporary directory for all > transactional object writes, not just when batched fsync is configured. > > The first three patches consist of some minor preparatory refactors. The > final patch swaps to creating the temporary directory eagerly and drops > the lazy setup. > > This series is based on 3c60ef1e38 (The 17th batch, 2026-11-08) with > jt/tmp-objdir-loose-idx-merge merged into it. > > Thanks, > -Justin