| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | moved source directories into `/src` (#264) | Stefan Boberg | 2023-05-02 | 1 | -653/+0 |
| | | | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees | ||||
| * | log error before throwing exception so we can see the callstack | Dan Engelbrecht | 2023-04-26 | 1 | -1/+8 |
| | | |||||
| * | make sure we pick up the error code before it is cleared when throwing error | Dan Engelbrecht | 2023-04-26 | 1 | -1/+2 |
| | | |||||
| * | optimizations (#200) | Dan Engelbrecht | 2022-12-07 | 1 | -4/+33 |
| | | | | | | | | | | | | | | * Use direct file read and direct buffer allocation for small IoBuffer materalization * Reduce range of materialized data in CompositeBuffer reading CompressedBuffer header reading often only need a small part and not the whole file * reduce lock contention in IoBuffer::Materialize * Reduce parsing of compressed headers Validate header type at decompression * faster CreateDirectories - start from leaf going up and recurse back * optimized BufferHeader::IsValid * Add ValidateCompressedHeader to use when we don't need the actual compressed data Validate that we always get compressed data in CidStore::AddChunk * changelog | ||||
| * | Support file reference in package message (#184) | Dan Engelbrecht | 2022-11-07 | 1 | -27/+9 |
| | | | | | | | | | * Fix packed message parsing for absolute path * Always enable are sharing when opening files as IoBuffers. * Allow control over sending partial files as localfile ref * Check "AcceptFlags" field in RPC message for allowing localfile ref in reply * make oplog entry add operations ZEN_DEBUG level logs * changelog | ||||
| * | Handle zero size file mapping (#177) | Dan Engelbrecht | 2022-09-30 | 1 | -1/+10 |
| | | | | | * Handle edgecase with zero size memory mapping of file * changelog | ||||
| * | merged from main | Stefan Boberg | 2022-06-16 | 1 | -0/+2 |
| | | |||||
| * | fix argument order in IoBufferBuilder::MakeFromFileWithSharedDelete | Dan Engelbrecht | 2022-05-30 | 1 | -1/+1 |
| | | |||||
| * | create local utility function for IoBufferBuilder::MakeFromFile* | Dan Engelbrecht | 2022-05-30 | 1 | -48/+25 |
| | | |||||
| * | Enable FILE_SHARE_DELETE on standalone files in disk buckets | Dan Engelbrecht | 2022-05-28 | 1 | -0/+45 |
| | | | | | | | | | This allows us to delete the file even if it is open for read. We do a delete, the rename since we are not allowed to do a rename-overwrite, only delete. As we have the shard lock for the file we want to replace we can safely do a delete+rename. In the rare case that we fail to rename the file into place the old data is lost. As this is a *cache* and it should be very rare this is OK. | ||||
| * | Make sure blockstore owner and block store state does not get out of sync ↵ | Dan Engelbrecht | 2022-05-08 | 1 | -0/+30 |
| | | | | | | | when fetching a chunk Move MarkAsDeleteOnClose() to IoBuffer(ExtendedCore) and set it on close, SetFileInformationByHandle sometimes fails if done in parallel with FileMapping | ||||
| * | use IsPow2 for mapping lock count | Dan Engelbrecht | 2022-04-29 | 1 | -1/+1 |
| | | |||||
| * | naming cleanup | Dan Engelbrecht | 2022-04-28 | 1 | -3/+6 |
| | | |||||
| * | Reduce risk of reallocating backing std::vector in CbWriter::AddBinary | Dan Engelbrecht | 2022-04-28 | 1 | -2/+10 |
| | | | | | | Shard up g_MappingLock in IoBufferExtendedCore::Materialize() to reduce contention during high load Don't queue upstream cache records if we don't have any upstreams | ||||
| * | review feedback | Dan Engelbrecht | 2022-03-31 | 1 | -1/+1 |
| | | |||||
| * | Remove bad kIsOwnedByThis | Dan Engelbrecht | 2022-03-31 | 1 | -1/+1 |
| | | |||||
| * | linux fixes | Dan Engelbrecht | 2022-03-31 | 1 | -3/+1 |
| | | |||||
| * | remove test code | Dan Engelbrecht | 2022-03-31 | 1 | -4/+0 |
| | | |||||
| * | Manage lifetime of FileHandle | Dan Engelbrecht | 2022-03-31 | 1 | -1/+6 |
| | | |||||
| * | clang-format | Dan Engelbrecht | 2022-03-21 | 1 | -1/+1 |
| | | |||||
| * | clang-format | Stefan Boberg | 2022-02-02 | 1 | -1/+1 |
| | | |||||
| * | Format fix. | Per Larsson | 2022-01-22 | 1 | -3/+5 |
| | | |||||
| * | Fixed up compile errors if mimalloc use is disabled | Martin Ridgers | 2022-01-14 | 1 | -0/+1 |
| | | |||||
| * | Converted use of _format UDL to fmt::format | Martin Ridgers | 2022-01-10 | 1 | -4/+2 |
| | | |||||
| * | Merged main. | Per Larsson | 2021-12-14 | 1 | -13/+18 |
| |\ | |||||
| | * | Dependent variable definition as inside a if-Windows block | Martin Ridgers | 2021-12-08 | 1 | -6/+7 |
| | | | |||||
| | * | Merged main | Martin Ridgers | 2021-12-08 | 1 | -24/+31 |
| | |\ | |||||
| | * \ | Merged main | Martin Ridgers | 2021-10-25 | 1 | -1/+1 |
| | |\ \ | |||||
| | * | | | Implemented ReadFromFileMaybe() for POSIX | Martin Ridgers | 2021-10-18 | 1 | -4/+8 |
| | | | | | |||||
| | * | | | Merged main | Martin Ridgers | 2021-10-16 | 1 | -2/+7 |
| | |\ \ \ | |||||
| | * \ \ \ | Merged main | Martin Ridgers | 2021-10-15 | 1 | -24/+59 |
| | |\ \ \ \ | |||||
| | * | | | | | Use std::fs::path for IoBuffer::MakeFromFile(). | Martin Ridgers | 2021-10-14 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is more consistent with MakeFromTempFile() and almost all arguments are path objects anyway. | ||||
| * | | | | | | Format fix. | Per Larsson | 2021-12-09 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | Merged main. | Per Larsson | 2021-12-09 | 1 | -24/+31 |
| |\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | |||||
| | * | | | | | Fixes from code review | Matt Peters | 2021-12-03 | 1 | -5/+7 |
| | | | | | | | |||||
| | * | | | | | Make IoBufferCore::Materialize threadsafe | Matt Peters | 2021-12-02 | 1 | -24/+29 |
| | | |_|_|/ | |/| | | | |||||
| * / | | | | clang-format | Stefan Boberg | 2021-10-23 | 1 | -1/+1 |
| |/ / / / | |||||
| * | | / | Format fix. | Per Larsson | 2021-10-20 | 1 | -1/+1 |
| | |_|/ |/| | | |||||
| * | | | zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵ | Stefan Boberg | 2021-10-15 | 1 | -2/+7 |
| | |/ |/| | | | | | | | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above | ||||
| * | | asio HTTP implementation (#23) | Stefan Boberg | 2021-10-14 | 1 | -24/+59 |
| |/ | | | asio-based HTTP implementation | ||||
| * | iobuffer: Changed MakeFromTemporaryFile so it accepts a path instead of a ↵ | Stefan Boberg | 2021-10-08 | 1 | -3/+3 |
| | | | | | character pointer | ||||
| * | Added explicit mimalloc IoBuffer allocation path | Stefan Boberg | 2021-10-01 | 1 | -38/+43 |
| | | |||||
| * | memory: Added experimental mimalloc path to AlignedAllocImpl/AlignedFreeImpl | Stefan Boberg | 2021-09-30 | 1 | -9/+28 |
| | | | | | | | Also added similar path to IoBuffer Cannot be enabled at the moment as we end up passing pointers to std::free via some path so more work will be necessary | ||||
| * | Merged latest from main | Stefan Boberg | 2021-09-27 | 1 | -9/+17 |
| |\ | |||||
| | * | Added HashBuffer(IoBuffer&) overload with trivial (but inappropriate for the ↵ | Stefan Boberg | 2021-09-23 | 1 | -0/+8 |
| | | | | | | | | | longer term) implementation | ||||
| * | | Merged main into linux-mac | Martin Ridgers | 2021-09-21 | 1 | -2/+7 |
| |\| | |||||
| | * | It's not possible to compile out tests | Stefan Boberg | 2021-09-20 | 1 | -2/+7 |
| | | | | | | | | | Tests are now compiled in if `ZEN_WITH_TESTS=1`, and compiled out if not. Compiling tests out reduces the footprint of the resulting executables quite significantly. | ||||
| * | | Removed external linkage from g_MappingLock | Martin Ridgers | 2021-09-16 | 1 | -1/+1 |
| | | | |||||
| * | | MakeFromTemporaryFile() on POSIX | Martin Ridgers | 2021-09-16 | 1 | -7/+26 |
| | | | |||||
| * | | MakeFromFile() on POSIX | Martin Ridgers | 2021-09-16 | 1 | -23/+43 |
| | | | |||||