summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-28start for new benchmark codebenchmarkKent Overstreet
2023-08-22Fix null ptr deref in bbpos_parse()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-08-18Update bcachefs sources to bed61fae3b bcachefs: Delete a faulty assertionKent Overstreet
2023-08-17Update bcachefs sources to a8115093df bcachefs: Fix divide by zero in ↵Kent Overstreet
rebalance_work()
2023-08-12cmd_mount: use the correct keyring key typeColin Gillespie
Mount is checking for and adding encryption keys using the logon key type instead of the user key type. This was causing it to not be able to unlock volumes on its own, and ask for a passphrase on already unlocked volumes. Signed-off-by: Colin Gillespie <colin@cgillespie.xyz>
2023-08-11Update bcachefs sources to b0788c47d9 bcachefs: Fix check_version_upgrade()Kent Overstreet
2023-08-11cmd_dump: Also set read_onlyKent Overstreet
In nochanges mode, without read_only, we can go into a fake rw mode where we allow writes but hold them in memory. That's not what we want for the dump tool - this fixes a bug where btree nodes don't always get dumped correctly. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-08-11fuse: Set fsname correctlyKent Overstreet
Also, add helpers for the fuse.bcachefs filesystem type; this means we can now test the fuse version with fstests. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-08-10cmd_mount: don't return 0 on mount failureLinus Heckemann
Signed-off-by: Linus Heckemann <git@sphalerite.org>
2023-08-08fuse: Update for snapshotsKent Overstreet
cmd_fusermount.c builds again Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-08-06Update bcachefs sources to 717b356d1d bcachefs: Convert journal validation ↵Kent Overstreet
to bkey_invalid_flags Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-08-04ci: set and verify MSRVAlexander Fougner
To prevent uncontrolled usage of new rust features, directly or from dependencies, set a minimum supported Rust version and verify it builds. Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2023-08-04Remove sparse protocol envvarAlexander Fougner
Default as of rust 1.70 Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2023-08-03cmd_dump: Making dumping the entire journal the defaultKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-08-03Update bcachefs sources to 5b8c4a1366 bcachefs: ↵v1.2Kent Overstreet
bcachefs_metadata_version_deleted_inodes
2023-08-01Update bcachefs sources to 33a60d9b05 bcachefs: Assorted fixes for clangKent Overstreet
2023-08-01cmd_list_journal: Tweak extent matchingKent Overstreet
Extents can now additionally be matched by the end position, the same as normal keys. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-08-01bpos_parse() now handles symbol constantsKent Overstreet
We can now parse U32_MAX/U64_MAX, as printed by bch2_bpos_to_text(). Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-20Run shrinkers when pthread_create failsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-20Update bcachefs sources to 4b5917839c bcachefs: Fix a null ptr deref in ↵Kent Overstreet
check_xattr()
2023-07-20Fix 'bcachefs fsck -y'Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-20Update bcachefs sources to ee560a3929 bcachefs: Print version, options ↵Kent Overstreet
earlier in startup path
2023-07-20ci: upgrade to checkout action v3Alexander Fougner
v2 is deprecated Signed-off-by: Alexander Fougner <fougner89@gmail.com>
2023-07-20.gitignore: replace travis with github-ci configJörg Thalheim
2023-07-20add dependabot config to keep github ci actions up-to-dateJörg Thalheim
2023-07-20ci: unpin nix install urlJörg Thalheim
I don't think we no longer need this and the install-nix-action is not compatible with it.
2023-07-20ci: bump install-nix-action/cachix to fix nixos buildJörg Thalheim
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2023-07-15Update bcachefs sources to e14d7c7195 bcachefs: Compression levelsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-10Add additional information about encryptionDemi Marie Obenour
This adds additional details about how encryption works in bcachefs, along with a warning regarding snapshots. Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
2023-07-10Update bcachefs sources to 04f2d2ae5b bcachefs: Fix build error on weird gccKent Overstreet
2023-07-10Update bcachefs sources to 070ec8d07b bcachefs: Snapshot depth, skiplist fieldsv1.1Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-10Update bcachefs sources to fb39031ade bcachefs: bch2_sb_maybe_downgrade(), ↵Kent Overstreet
bch2_sb_upgrade() Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-10Update bcachefs sources to 1e3ca87f7b bcachefs: ↵v1.0Kent Overstreet
bcachefs_metadata_version_major_minor
2023-07-09Update bcachefs sources to da7d42a9a2 bcachefs: Add new assertions for ↵Kent Overstreet
shutdown path Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-07Update bcachefs sources to 25de2b00dc bcachefs: Change check for invalid key ↵Kent Overstreet
types Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-27get_random_u32_below()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-27Update bcachefs sources to 84f132d569 bcachefs: fsck: Break walk_inode() up ↵Kent Overstreet
into multiple functions Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-18Update bcachefs sources to bca25b802d fixup! bcachefs: Fix ↵Kent Overstreet
bch2_check_discard_freespace_key()
2023-06-18Update bcachefs sources to 99175e5712 bcachefs: Fix ↵Kent Overstreet
bch2_check_discard_freespace_key()
2023-06-18Switch to CLOCK_MONOTONIC_COARSEKent Overstreet
CLOCK_MONOTONIC requires a syscall, and is much more expensive. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-16build.nix: add instruction to keep cargoDeps hashes up-to-dateJörg Thalheim
2023-06-16nix: replace deprecated cargo/rustc aliases with new versionJörg Thalheim
2023-06-16flake.lock: UpdateJörg Thalheim
This is needed so that nix-update can update cargo dependencies. Flake lock file updates: • Updated input 'nixpkgs': 'github:nixos/nixpkgs/b1f87ca164a9684404c8829b851c3586c4d9f089' (2023-02-25) → 'github:nixos/nixpkgs/0eeebd64de89e4163f4d3cf34ffe925a5cf67a05' (2023-06-12) • Updated input 'utils': 'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13) → 'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31) • Added input 'utils/systems': 'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
2023-06-15fix reading keys from non-tty inputsJörg Thalheim
read_password_from_tty doesn't have a fallback if input is a pipe. This makes scripting and integration testing harder. Noticed while updating our nixos integration test. Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2023-06-15flake.nix: add missing bindgen output hashJörg Thalheim
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2023-06-13Update bcachefs sources to 01d7ad6d95 bcachefs: snapshot_to_text() includes ↵Kent Overstreet
snapshot tree
2023-06-10Update bcachefs sources to ed6b7f81a7 six locks: Disable percpu read lock ↵Kent Overstreet
mode in userspace Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-10cmd_fs_usage: Implement --helpKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-08Sort input file listBernhard M. Wiedemann
so that libbcachefs.so builds in a reproducible way in spite of non-deterministic filesystem readdir order. See https://reproducible-builds.org/ for why this is good.
2023-06-04Update bcachefs sources to 7c0fe6f104 bcachefs: Fix bch2_fsck_ask_yn()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>