Skip to content

Commit

Permalink
New volume trimmer (#113)
Browse files Browse the repository at this point in the history
* Fixes for #85, #86, #94, #99, #101.

* Fix for #87, #98, #100; upgrade to batteries/0.44.1.

* wip - before major rewrite of VolumeTrimmer to simplify.

* wip - save VolumeCommittedJobTracker before removing (just in case we change our mind!)

* wip - new VolumeTrimmer.

* wip - volume trimmer fixes (plus test fixes).

* (re-)Acquire job grant first on recover in trimmer test; this is
roughly equivalent to resolving jobs first (volume.cpp)

* Added cached pool for RingBuffer, fixed testdata bug (TrieTest).

* Upgrade to batteries/0.44.1.

* Add caching of ring buffer mapped memory to slow resource growth.

* Use madvise; minimize calls to munmap.

* Fix for #108, Fix for #107.

* merge RingBuffer changes.

* Cleanup.

* fix header order

* Remove dead code.

* Only clear one mirror when deallocating a RingBuffer::Impl.

This seems to fix a sporadic Bus Error when trying to memset the
entire mapped region (size * 2) at once.

* memfd_create instead of tmpfile, normalized subpool sizes.
  • Loading branch information
tonyastolfi authored Sep 5, 2023
1 parent 3e105e8 commit 2626f6f
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 2626f6f

Please sign in to comment.