summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2 hoursMerge pull request #410 from LebedevRI/dkmsHEADmasterkoverstreet
Debian: split DKMS into separate binary package
2 hoursGithub actions: don't try to attest PR builds, not allowed by GitHubRoman Lebedev
2 hoursDebian: split DKMS into separate binary packageRoman Lebedev
The package deps seems to be correct, and the mod does seem to get built and placed into initramfs. ``` $ eatmydata sudo dpkg -i bcachefs-tools_1.31.3_amd64.deb ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. (Reading database ... 534575 files and directories currently installed.) Preparing to unpack bcachefs-tools_1.31.3_amd64.deb ... Unpacking bcachefs-tools (1:1.31.3) over (1:1.31.3) ... Setting up bcachefs-tools (1:1.31.3) ... Processing triggers for man-db (2.13.1-1) ... $ eatmydata sudo dpkg -i bcachefs-kernel-dkms_1.31.3_amd64.deb ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. (Reading database ... 552274 files and directories currently installed.) Preparing to unpack bcachefs-kernel-dkms_1.31.3_amd64.deb ... Unpacking bcachefs-kernel-dkms (1:1.31.3) ... Setting up bcachefs-kernel-dkms (1:1.31.3) ... Loading new bcachefs/1.31.1 DKMS files... Building for 6.16.7+deb14-amd64 Building initial module bcachefs/1.31.1 for 6.16.7+deb14-amd64 Sign command: /lib/modules/6.16.7+deb14-amd64/build/scripts/sign-file Signing key: /var/lib/dkms/mok.key Public certificate (MOK): /var/lib/dkms/mok.pub Certificate or key are missing, generating self signed certificate for MOK... Building module(s)...... done. Signing module /var/lib/dkms/bcachefs/1.31.1/build/src/fs/bcachefs/bcachefs.ko Found pre-existing /lib/modules/6.16.7+deb14-amd64/kernel/fs/bcachefs/bcachefs.ko.xz, archiving for uninstallation Installing /lib/modules/6.16.7+deb14-amd64/updates/dkms/bcachefs.ko.xz Running depmod.... done. Processing triggers for initramfs-tools (0.150) ... update-initramfs: Generating /boot/initrd.img-6.16.7+deb14-amd64 update-initramfs: Generating /boot/initrd.img-6.12.38+deb13-amd64 $ lsinitramfs -l /boot/initrd.img-6.16.7+deb14-amd64 | grep bcachefs -rw-r--r-- 1 root root 1027492 Sep 18 04:15 usr/lib/modules/6.16.7+deb14-amd64/updates/dkms/bcachefs.ko.xz -rwxr-xr-x 1 root root 2042 Sep 18 03:01 scripts/local-premount/bcachefs -rwxr-xr-x 1 root root 3791344 Sep 18 03:01 usr/sbin/bcachefs lrwxrwxrwx 1 root root 8 Sep 18 04:15 usr/sbin/mount.bcachefs -> bcachefs ``` Signed-off-by: Roman Lebedev <lebedev.ri@gmail.com>
5 hoursMerge pull request #409 from LebedevRI/apt-readmekoverstreet
APT Readme: use different sentinels in nested cat blocks
5 hoursAPT Readme: use different sentinels in nested cat blocksRoman Lebedev
Sorry about that... Signed-off-by: Roman Lebedev <lebedev.ri@gmail.com>
5 hoursMerge pull request #408 from LebedevRI/apt-readmekoverstreet
deb repo: readme fixse
5 hoursdeb repo: actually provide usable instructions in READMERoman Lebedev
Signed-off-by: Roman Lebedev <lebedev.ri@gmail.com>
6 hoursv1.31.1v1.31.1Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
7 hoursFix fuse buildKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
8 hoursfix spaces instead of tabsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 hoursFix build on old userspaceKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 hoursUpdate bcachefs sources to ff14f7886ed9 bcachefs: compat code for pre 6.17Kent Overstreet
11 hourskill systemd integrationKent Overstreet
We probably won't ever need this, since we've steadily been doing more and more self healing. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 hoursUpdate bcachefs sources to c819a7757912 bcachefs: kill write_(begin|end)Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 hoursmakefile cleanupKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
23 hoursdrop bcachefs-tools-deb workflowKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
23 hoursFix initramfs hook installationKent Overstreet
We have to create the final hook before installation for debian package builds. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
24 hoursdebian: fix dkmsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
24 hoursdebian: export PREFIXKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
24 hoursMakefile: install DKMSKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
34 hoursMerge pull request #407 from LebedevRI/debiankoverstreet
debian package vendoring and PPA
34 hoursdebian package vendoring and PPARoman Lebedev
2 daysUpdate bcachefs sources to f611e3b87fb5 bcachefs: kill build warning in ↵Kent Overstreet
userspace
2 daysscrub: Return code now indicates corrected/uncorrected errorsKent Overstreet
Matches error codes of fsck for corrected/uncorrected errors. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
4 daysv1.31.0: bcachefs_metadata_version_btree_node_accountingv1.31.0Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
4 daysUpdate bcachefs sources to 1c8d3fc41e72 bcachefs: fast_list.c is only ↵Kent Overstreet
required for async obj debugging Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
6 daysMerge pull request #406 from koverstreet/update_flake_lock_actionkoverstreet
flake.lock: Update
6 daysflake.lock: Updategithub-actions[bot]
Flake lock file updates: • Updated input 'crane': 'github:ipetkov/crane/25bd41b24426c7734278c2ff02e53258851db914?narHash=sha256-FCRRAzSaL/%2BumLIm3RU3O/%2BfJ2ssaPHseI2SSFL8yZU%3D' (2025-08-23) → 'github:ipetkov/crane/d599ae4847e7f87603e7082d73ca673aa93c916d?narHash=sha256-kTdCCMuRE%2B/HNHES5JYsbRHmgtr%2Bl9mOtf5dpcMppVc%3D' (2025-09-06) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/af66ad14b28a127c5c0f3bbb298218fc63528a18?narHash=sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8%3D' (2025-08-06) → 'github:hercules-ci/flake-parts/4524271976b625a4a605beefd893f270620fd751?narHash=sha256-%2BuWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw%3D' (2025-09-01) • Updated input 'flake-parts/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/0f36c44e01a6129be94e3ade315a5883f0228a6e?narHash=sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA%3D' (2025-07-27) → 'github:nix-community/nixpkgs.lib/a73b9c743612e4244d865a2fdee11865283c04e6?narHash=sha256-x2rJ%2BOvzq0sCMpgfgGaaqgBSwY%2BLST%2BWbZ6TytnT9Rk%3D' (2025-08-10) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/d7600c775f877cd87b4f5a831c28aa94137377aa?narHash=sha256-tlOn88coG5fzdyqz6R93SQL5Gpq%2Bm/DsWpekNFhqPQk%3D' (2025-08-30) → 'github:nixos/nixpkgs/ab0f3607a6c7486ea22229b92ed2d355f1482ee0?narHash=sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/%2BG0lKfv4kk/5Izdg%3D' (2025-09-10) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/f46d294b87ebb9f7124f1ce13aa2a5f5acc0f3eb?narHash=sha256-ciwAdgtlAN1PCaidWK6RuWsTBL8DVuyDCGM%2BX3ein5Q%3D' (2025-08-31) → 'github:oxalica/rust-overlay/591c5ae84f066bdfc9797b217df392d58eafd088?narHash=sha256-bVIDYz31bCdZId441sqgkImnA7aYr2UQzQlyl%2BO2DWc%3D' (2025-09-12)
6 daysMerge pull request #405 from samhug/fix-nix-versionkoverstreet
update nix build to pull version from Cargo.toml
6 daysupdate nix build to pull version from Cargo.tomlSam Hug
6 daysDebian updatesKent Overstreet
Pulled from last Debian bcachefs-tools package, plus dkms hook. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
6 daysadd dkms supportFrederik Schwan
Signed-off-by: Frederik Schwan <frederik@tty42.de> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
7 daysVersion is now pulled from Cargo.tomlKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
8 dayscmd_list_journal: Transaction filtering now works correctlyKent Overstreet
Previously, we'd skip all transactions after the first non-transaction entry - oops. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
10 daysUpdate bcachefs sources to 292344971769 bcachefs: Read retries are after ↵Kent Overstreet
checksum errors now REQ_FUA Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
10 daysMerge pull request #403 from koverstreet/update_flake_lock_actionkoverstreet
flake.lock: Update
11 daysfix shrinker_free()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 dayscmd_migrate: Prevent spurious "Superblock modified by another process" errorsNikita Ofitserov
This is only a workaround for the superblock writing process always reading back the first sb in the layout and checking its sequence number. Zeroing it out ensures a harmless warning instead of an error. Signed-off-by: Nikita Ofitserov <himikof@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 dayscmd_migrate: Make fsck after migrate-superblock debug-onlyNikita Ofitserov
There is no reason to run a fsck there for common use, as the FS is now modified only by calling consistency-preserving APIs. Also switch the debug-only fsck to nochanges mode for easier debugging. Signed-off-by: Nikita Ofitserov <himikof@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 dayscmd_migrate: Open the device in exclusive mode for migrate-superblockNikita Ofitserov
Signed-off-by: Nikita Ofitserov <himikof@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 dayscmd_migrate: Small fixesNikita Ofitserov
Ensure that the space for the future default sb layout is not used during the migration process. Signed-off-by: Nikita Ofitserov <himikof@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 dayscmd_migrate: Reimplement cmd_migrate_superblockNikita Ofitserov
Now the FS is first started RW, then new superblock is written and metadata updated. This ensures that all recovery/upgrades/downgrades are performed at the beginning. Signed-off-by: Nikita Ofitserov <himikof@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 dayscmd_migrate: Introduce add_default_sb_layout helperNikita Ofitserov
Signed-off-by: Nikita Ofitserov <himikof@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
11 dayscmd_migrate: Introduce mark_nouse_range helperNikita Ofitserov
Signed-off-by: Nikita Ofitserov <himikof@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
12 daysformat: Do a 'udevadm trigger' after formattingKent Overstreet
This causes the new filesystem UUID to be picked up; without this, mount can fail if it's a multidevice filesystem. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-01bcachefs undumpKent Overstreet
Add our own version of 'qemu-img convert', which doesn't have the l1 table size limit or require fixing our missing reflink table. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-01flake.lock: Updategithub-actions[bot]
Flake lock file updates: • Updated input 'crane': 'github:ipetkov/crane/544d09fecc8c2338542c57f3f742f1a0c8c71e13?narHash=sha256-g5uP3jIj%2BSTUcfTJDKYopxnSijs2agRg13H0SGL5iE4%3D' (2025-07-19) → 'github:ipetkov/crane/25bd41b24426c7734278c2ff02e53258851db914?narHash=sha256-FCRRAzSaL/%2BumLIm3RU3O/%2BfJ2ssaPHseI2SSFL8yZU%3D' (2025-08-23) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/77826244401ea9de6e3bac47c2db46005e1f30b5?narHash=sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ%3D' (2025-07-01) → 'github:hercules-ci/flake-parts/af66ad14b28a127c5c0f3bbb298218fc63528a18?narHash=sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8%3D' (2025-08-06) • Updated input 'flake-parts/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/14a40a1d7fb9afa4739275ac642ed7301a9ba1ab?narHash=sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo%3D' (2025-06-29) → 'github:nix-community/nixpkgs.lib/0f36c44e01a6129be94e3ade315a5883f0228a6e?narHash=sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA%3D' (2025-07-27) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf?narHash=sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc%3D' (2025-07-19) → 'github:nixos/nixpkgs/d7600c775f877cd87b4f5a831c28aa94137377aa?narHash=sha256-tlOn88coG5fzdyqz6R93SQL5Gpq%2Bm/DsWpekNFhqPQk%3D' (2025-08-30) • Updated input 'rust-overlay': 'github:oxalica/rust-overlay/95719de18aefa63a624bf75a1ff98744b089ec12?narHash=sha256-qRRP3QavbwW0o%2BLOh31QNEfCgPlzK5SKlWALUJL6T7E%3D' (2025-07-20) → 'github:oxalica/rust-overlay/f46d294b87ebb9f7124f1ce13aa2a5f5acc0f3eb?narHash=sha256-ciwAdgtlAN1PCaidWK6RuWsTBL8DVuyDCGM%2BX3ein5Q%3D' (2025-08-31) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/421b56313c65a0815a52b424777f55acf0b56ddf?narHash=sha256-tzbhc4XttkyEhswByk5R38l%2BztN9UDbnj0cTcP6Hp9A%3D' (2025-07-20) → 'github:numtide/treefmt-nix/1aabc6c05ccbcbf4a635fb7a90400e44282f61c4?narHash=sha256-F1oFfV51AE259I85av%2BMAia221XwMHCOtZCMcZLK2Jk%3D' (2025-08-31)
2025-08-28Plumb subvol v2 ioctls with proper error messagesKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-28__errmsg_ioctl()Kent Overstreet
less macro-ing Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-28Update bcachefs sources to f5a0255e6524 bcachefs: v2 versions of subvolume ↵Kent Overstreet
ioctls