Commits
- Commit:
fae7e03842e8618973f4d4910a86a52d881ab2ab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
run the search for deltas to reuse in got-read-pack
This significantly speeds up the deltification step of packing by
avoiding imsg traffic. gotadmin no longer requests individual raw
deltas from got-read-pack to check whether it can reuse them.
Instead, got-read-pack obtains a list of objects we want to pack,
and hands back the list of all deltas in its pack file which can be
reused. Messages are now batched such that imsg buffers are filled
as much as possible.
Another advantage is that deltas we are not going to reuse will
no longer be written to the delta cache file, saving disk space.
Before this patch, any raw delta candidate was written to the
delta cache file by got-read-pack, and the decision whether to
reuse the delta happened afterwards in the gotadmin process.
Code for reading individual raw deltas is now unused and could be
removed at some point.
ok op@
- Commit:
2d9e6abf243a0a1895786fa9002b28d69a0f6fea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
store deltas in compressed form while packing, both in memory and cache file
This reduces memory and disk space consumption during packing.
with tweaks + memleak on error fix from op@
ok op@
- Commit:
d7b5a0e827bb38e5c8502f0ba8d7838fedaba19b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
inline struct got_object_id in struct got_object_qid
Saves us from doing a malloc/free call for every item on the list.
ok op@
- Commit:
67fd68496517d3103b130a1085efdd4591bd7416
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reuse existing deltas when creating pack files
tested by thomas, naddy, and myself
- Commit:
64a8571e126da3ef8c0488551727b87e4509b50d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
map raw object files into memory while packing if possible
- Commit:
94dac27cd14d635dc83d202ffa7ed21dad0de278
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
raw object blocksize and read buffer were unused; remove them
- Commit:
284e76635399152995c605f3dd640d4ac99488da
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused internal raw object API functions
- Commit:
d3c116bf7268bde4ceb3311eb4ed995fc4776487
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache raw objects in order to speed up gotadmin pack
- Commit:
cc7a354afc4ae05de465ac2cf97b558fec5b271f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reuse temporary files which were not used by got_object_raw_open()
- Commit:
d5c81d448ae4eec21053152e1c82c66eb11ca7a4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
verify object ID checksums while loose objects are being accessed
- Commit:
b3d68e7f99c78cbcf672100fb14310e4b4f18482
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement 'gotadmin cleanup'
- Commit:
762d73f46b73795f4f1defc7cbadd0a3c3f17604
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce got_object_open_loose_fd() for library-internal use
- Commit:
59d1e4a0a9c19debc27746357d97084b59a76db8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement raw object data access; this will be required for packing
- Commit:
ca6e02acaa175cf833a3424ff1c4842445c0109f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add support for first-parent history traversal to got-read-pack
- Commit:
5aa813935b6489921083da5ed9459a1cfb8a03e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add copyright year for files already touched in 2020
- Commit:
2c98ee284cc81440281858351f0aa94cbca9a83c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
NAME_MAX does not account for a terminating NUL
- Commit:
56e0773df7e12fc69c1f6f9d171c93fd78a13d0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert tree entries from SIMPLEQ to an array
- Commit:
5f25cc858267bf6a334ed243cd4ceaa4bcb851d6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove obj->path_packfile which is unused nowadays; saves a few free() calls
- Commit:
8aa93786da2fe8d0c2714dcda5c6a0d4676b08c1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got cat' output look more like raw object files
- Commit:
ed1754272216c57ee4359f0fc8d35279b9dfa381
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
more progress on generating new tree entries
- Commit:
90bdb554ae5fcbb3f8bfd26f70ed3f540d77c9bd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
expose a static helper function as got_object_get_path()
- Commit:
e02fc99fa16589e5287b101098e25f62e598a285
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move declaration of object labels to got_lib_object.h
- Commit:
5d56da8198435fa1d0e717f60d562f4a28e2e4e0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
happy new copyright year
- Commit:
e650241d3aa5b687b4be927bcdc6595a2af7384e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused field from struct got_blob_object
- Commit:
ac544f8c6ffbe7126fa9ae6c7dd09c6661d1ef2d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
pass smallish blobs directly via imsg buffer