summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-10-09Update bcachefs sources to 3b80552e7057 bcachefs: __wait_for_freeing_inode: ↵656-debugKent Overstreet
Switch to wait_bit_queue_entry
2024-10-07Update bcachefs sources to 895d5e67afdc bcachefs: Check if stuck in ↵Kent Overstreet
journal_res_get()
2024-10-05Fix 'fuse' feature conditional compilationKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-10-04fuse: graceful shutdown when startup failsThomas Bertschinger
When FUSE startup encounters an error after opening the filesystem--for example because of a bad mountpoint--it exited uncleanly, which is a bit unfriendly. Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-09-29Update bcachefs sources to 438696e03da7 bcachefs: rename version -> bversion ↵Kent Overstreet
for big endian builds
2024-09-29cmd_list: open with noxclKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-09-07Update bcachefs sources to 82792a451950 bcachefs: Switch some bch2_dev_rcu() ↵Kent Overstreet
calls to _noerror Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-09-07Update bcachefs sources to ec2ddb95112b bcachefs: bch2_opts_to_text()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-09-04Remove udev from PKGCONFIG_LIBS in MakefileAlyssa Ross
libudev.pc is the pkg-config file for the udev libraries. udev.pc is just there to define the directory that rules etc. should be installed into. It therefore doesn't need to be included in the list of libraries passed to pkg-config --cflags or pkg-config --libs. At least one implementation of the libudev API, libudev-zero, does not provide a udev.pc file, because it does not implement the udev rules language, just the library API. With this change, it's possible to build bcachefs-tools against libudev-zero by pointing PKGCONFIG_UDEVDIR somewhere on the make command line. Signed-off-by: Alyssa Ross <hi@alyssa.is> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-09-04Merge pull request #335 from workingjubilee/remove-trivial-depskoverstreet
Remove trivial deps
2024-09-03Remove byteorder depJubilee Young
This requires something other than literally zero code to replace, but is another opportunity to deny packagers the fun of experimenting with replacing crate versions with incompatible patched crate versions.
2024-09-03bch_bindgen: Remove memoffset depJubilee Young
A trivial replacement allowed by std stabilizing it in rust 1.77. Less crate dependencies means less odd decisions by packagers.
2024-08-31cmd_dump: Open in noexcl modeKent Overstreet
no need to make it harder to dump than it needs to be Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-23Update bcachefs sources to 22fa8fc32e6a bcachefs: rcu_pending now works in ↵Kent Overstreet
userspace
2024-08-23Merge pull request #333 from reedriley/masterkoverstreet
fix setattr in usage/docs; bump version in various places from v1.9.5 (wrong) to v1.11.1
2024-08-22version bump to v1.11.1Reed Riley
2024-08-22change setattr to set-file-option in docs/usageReed Riley
2024-08-21Merge pull request #331 from Managor/masterkoverstreet
Change lingering set-option texts to set-fs-option
2024-08-21Change lingering set-option texts to set-fs-optionAntti Savolainen
2024-08-20posix_to_bcachefs: fix missing copy_xattrs() error checkingKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-18Update bcachefs sources to 62439c6f1a6d bcachefs: Simplify bch2_xattr_emit() ↵Kent Overstreet
implementation Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-17Update bcachefs sources to e7015d0df31c bcachefs: Simplify bch2_xattr_emit() ↵v1.11.0Kent Overstreet
implementation Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-10kill_btree_node fixupKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-10Merge pull request #326 from PowerUser64/spelling-fixkoverstreet
doc: correct some spelling errors
2024-08-10Update bcachefs sources to 070f7d6a382a bcachefs: bch2_sb_nr_devices()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-09doc: correct some spelling errorsPowerUser64
2024-08-09Revert "build: rm `package.version` from Cargo.toml"Kent Overstreet
This reverts commit 48c51020e571455fa004be25371f85a39a945cad. Deleting the version from Cargo.toml broke the MSRV build with cargo 1.7.0.
2024-08-09fsck: modprobe before doing version checkKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-09cmd_fs_usage: fix null ptr derefKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-09mount: When mounting a single device, make sure we mount the device specifiedKent Overstreet
When mounting a multi device filesystem we have to scan for component devices from the UUID, but we don't want to scan if it's a single device filesystem; if the same filesystem is exposed via multiple device nodes (e.g. dm faulty testing), the scan can pick up the wrong node. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-08bch_sb::number_of_devices() now calls proper c helperKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-08Update bcachefs sources to dfc7b2c9433e bcachefs: bch2_sb_nr_devices()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-06fixup! cmd_set_option: Can now set device optionsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-08-02Merge pull request #320 from WhatAmISupposedToPutHere/masterkoverstreet
Ask for password via systemd-ask-password
2024-07-31Merge pull request #324 from JohnRTitor/nix-fixkoverstreet
nix: add meta.mainProgram to allow directly running from this repo
2024-07-31nix: add meta.mainProgram to allow directly running from this repoJohn Titor
2024-07-30Merge pull request #323 from koverstreet/update_flake_lock_actionkoverstreet
flake.lock: Update
2024-07-30flake.lock: Updategithub-actions[bot]
Flake lock file updates: • Updated input 'crane': 'github:ipetkov/crane/8a68b987c476a33e90f203f0927614a75c3f47ea?narHash=sha256-a0G1NvyXGzdwgu6e1HQpmK5R5yLsfxeBe07nNDyYd%2Bg%3D' (2024-07-18) → 'github:ipetkov/crane/529c1a0b1f29f0d78fa3086b8f6a134c71ef3aaf?narHash=sha256-k3oiD2z2AAwBFLa4%2BxfU%2B7G5fisRXfkvrMTCJrjZzXo%3D' (2024-07-24) • Updated input 'fenix': 'github:nix-community/fenix/d3121c162a1fa4fabcb9af9642d50e8b05ddfe83?narHash=sha256-AJjRiL2diAitpARbE9bUTlgtqHC8QS1ImXNaXMRhKoU%3D' (2024-07-20) → 'github:nix-community/fenix/483df76def3e5010d709aa3a0418ba2088503994?narHash=sha256-DfGaJtgrzcwPQYLTvjL1KaVIjpvi85b2MpM6yEGvJzM%3D' (2024-07-30) • Updated input 'fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/b333f85a9dc06a45d9eb126c6371414c49b46784?narHash=sha256-23zmEelXzAvnfMlLsJ6a6P7yNiI9WOUrS9xh9dXVc/U%3D' (2024-07-19) → 'github:rust-lang/rust-analyzer/a021b85be57d34b1eed687fcafd5d5ec64b2d853?narHash=sha256-KxjkPVn9rQqYam6DhiN/V2NcMXtYW25maxkJoiVMpmE%3D' (2024-07-29) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/1d9c2c9b3e71b9ee663d11c5d298727dace8d374?narHash=sha256-8MUgifkJ7lkZs3u99UDZMB4kbOxvMEXQZ31FO3SopZ0%3D' (2024-07-19) → 'github:nixos/nixpkgs/52ec9ac3b12395ad677e8b62106f0b98c1f8569d?narHash=sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k%3D' (2024-07-28) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/888bfb10a9b091d9ed2f5f8064de8d488f7b7c97?narHash=sha256-wNXLQ/ATs1S4Opg1PmuNoJ%2BWamqj93rgZYV3Di7kxkg%3D' (2024-07-20) → 'github:numtide/treefmt-nix/768acdb06968e53aa1ee8de207fd955335c754b7?narHash=sha256-uru7JzOa33YlSRwf9sfXpJG%2BUAV%2BbnBEYMjrzKrQZFw%3D' (2024-07-30)
2024-07-30Merge pull request #322 from tmuehlbacher/fix-c-exit-codekoverstreet
Fix C exit code
2024-07-30fix(nix): silence trace from treefmt-nixThomas Mühlbacher
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2024-07-30fix: don't try to convert C command returns to u8Thomas Mühlbacher
Fixes Rust panics if some C command (like fsck) returns a value bigger than 255. The process exit code will be mangled but what can we do, it's less confusing than a panic (that unfortunately doesn't print the return value). Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2024-07-26mount: Ask for password via systemd-ask-passwordSasha Finkelstein
This would allow to supply the password via the plymouth password input. If systemd-ask-password does not exist or fails to start, falls back to the old-style password request. Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
2024-07-22mount: Fix UAF in option string handlingKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-07-20Merge pull request #317 from koverstreet/update_flake_lock_actionkoverstreet
flake.lock: Update
2024-07-21flake.lock: Updategithub-actions[bot]
Flake lock file updates: • Updated input 'crane': 'github:ipetkov/crane/0095fd8ea00ae0a9e6014f39c375e40c2fbd3386?narHash=sha256-UKrfy/46YF2TRnxTtKCYzqf2f5ZPRRWwKCCJb7O5X8U%3D' (2024-06-15) → 'github:ipetkov/crane/8a68b987c476a33e90f203f0927614a75c3f47ea?narHash=sha256-a0G1NvyXGzdwgu6e1HQpmK5R5yLsfxeBe07nNDyYd%2Bg%3D' (2024-07-18) • Updated input 'fenix': 'github:nix-community/fenix/ab655c627777ab5f9964652fe23bbb1dfbd687a8?narHash=sha256-ixopuTeTouxqTxfMuzs6IaRttbT8JqRW5C9Q/57WxQw%3D' (2024-06-08) → 'github:nix-community/fenix/d3121c162a1fa4fabcb9af9642d50e8b05ddfe83?narHash=sha256-AJjRiL2diAitpARbE9bUTlgtqHC8QS1ImXNaXMRhKoU%3D' (2024-07-20) • Updated input 'fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/48bbdd6a74f3176987d5c809894ac33957000d19?narHash=sha256-%2BlRAmz92CNUxorqWusgJbL9VE1eKCnQQojglRemzwkw%3D' (2024-06-05) → 'github:rust-lang/rust-analyzer/b333f85a9dc06a45d9eb126c6371414c49b46784?narHash=sha256-23zmEelXzAvnfMlLsJ6a6P7yNiI9WOUrS9xh9dXVc/U%3D' (2024-07-19) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8?narHash=sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw%3D' (2024-06-01) → 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7?narHash=sha256-pQMhCCHyQGRzdfAkdJ4cIWiw%2BJNuWsTX7f0ZYSyz0VY%3D' (2024-07-03) • Updated input 'flake-parts/nixpkgs-lib': 'https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz?narHash=sha256-lIbdfCsf8LMFloheeE6N31%2BBMIeixqyQWbSr2vk79EQ%3D' (2024-06-01) → 'https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D' (2024-07-01) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420?narHash=sha256-4Zu0RYRcAY/VWuu6awwq4opuiD//ahpc2aFHg2CWqFY%3D' (2024-06-13) → 'github:nixos/nixpkgs/1d9c2c9b3e71b9ee663d11c5d298727dace8d374?narHash=sha256-8MUgifkJ7lkZs3u99UDZMB4kbOxvMEXQZ31FO3SopZ0%3D' (2024-07-19) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81?narHash=sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls%3D' (2024-06-16) → 'github:numtide/treefmt-nix/888bfb10a9b091d9ed2f5f8064de8d488f7b7c97?narHash=sha256-wNXLQ/ATs1S4Opg1PmuNoJ%2BWamqj93rgZYV3Di7kxkg%3D' (2024-07-20)
2024-07-20Merge pull request #316 from tmuehlbacher/disable-treefmt-checkkoverstreet
ci: disable treefmt-check
2024-07-21ci: disable treefmt-checkThomas Mühlbacher
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2024-07-20Merge pull request #315 from tmuehlbacher/variety-changeskoverstreet
Variety changes
2024-07-21refactor: fix clippy lintThomas Mühlbacher
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2024-07-21style: nix fmtThomas Mühlbacher
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>