aboutsummaryrefslogtreecommitdiff
path: root/src/block/layout.rs
Commit message (Collapse)AuthorAgeFilesLines
* build with rust 1.82.0Alex Auvolat6 days1-1/+2
|
* nix, ci: build with CraneAlex Auvolat6 days1-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes our dependency on cargo2nix, which was causing us some issues. Whereas cargo2nix creates one Nix derivation per crate, Crane uses only two derivations: 1. Build dependencies only 2. Build the final binary This means that during the second step, no caching can be done. For instance, if we do a change in garage_model, we need to recompile all of the Garage crates including those that do not depend on garage_model. On the upside, this allows all of the Garage crates to be built at once using cargo build logic, which is optimized for high parallelism and better pipelining between all of the steps of the build. All in all, this makes most builds faster than cargo2nix. A few other changes have been made to the build scripts and CI: - Unit tests are now run within a Nix derivation. In fact, we have different derivations to run the tests using LMDB and Sqlite as metadata db engines. - For debug builds, most CI steps now run in parallel (with the notable exception of the smoke test that runs after the build, which is inevitable). - We no longer pass the GIT_VERSION argument when building debug builds and running the tests. This means that dev binaries and test binaries don't know the exact version of Garage they are from. That shouldn't be an issue in most cases. - The not-dynamic.sh scripts has been fixed to fail if the file does not exist.
* fix formatting to comply with latest rustfmtAlex Auvolat2025-01-121-1/+2
|
* [check-data-dir] add marker files in data directories (fix #601)check-data-dirAlex Auvolat2024-03-201-12/+48
|
* block manager: fix indentation (why not detected by cargo fmt?)Alex Auvolat2023-09-111-16/+16
|
* block manager: fix bugsAlex Auvolat2023-09-071-1/+0
|
* block manager: add rebalance operation to rebalance multi-hdd setupsAlex Auvolat2023-09-071-0/+8
|
* block manager: avoid incorrect data_dir configs and avoid losing filesAlex Auvolat2023-09-061-3/+38
|
* block manager: fixes in layoutAlex Auvolat2023-09-061-23/+33
|
* block manager: fix dir_not_emptyAlex Auvolat2023-09-061-2/+1
|
* block manager: use data paths from layoutAlex Auvolat2023-09-061-17/+20
|
* block manager: multi-directory layout computationAlex Auvolat2023-09-061-19/+245
|
* block manager: skeleton for multi-hdd supportAlex Auvolat2023-09-061-0/+57