1988 Commits

Author SHA1 Message Date
Kent Overstreet
fc1016eeca bindgen: suppress warnings on generated code
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-10-04 12:36:19 -04:00
Kent Overstreet
476dbb9cec v1.31.7
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
v1.31.7
2025-10-04 11:56:40 -04:00
Kent Overstreet
dcac6e327d Update bcachefs sources to 508dc7f614e7 bcachefs: Ensure copygc, rebalance threads are preallocated 2025-10-04 11:55:10 -04:00
Kent Overstreet
9fe65066ab Update bcachefs sources to 1e5c304db79f bcachefs: Fix btree write buffer flush tracepoint 2025-10-04 05:21:54 -04:00
Kent Overstreet
95a7909891 Update bcachefs sources to 69b80f5793ed bcachefs: Add time_stats for btree write buffer flush 2025-10-04 04:51:18 -04:00
Kent Overstreet
e919b852b4 Update bcachefs sources to 5be664992e21 bcachefs: Fix build error with clang 2025-10-04 01:11:02 -04:00
koverstreet
14bccc22f6
Merge pull request #443 from mmlb/push-tvoxuqouvmvv
nix: Set strictDeps for module
2025-10-03 20:19:25 -04:00
Kent Overstreet
9dec020282 Update bcachefs sources to 100a4d92ca71 bcachefs: Split out journal flags for low on space
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-10-03 18:50:01 -04:00
Manuel Mendez
952bc49e83 nix: Set strictDeps for module
This is nix best practice and already set for the crane based builds but
was missing here.
2025-10-03 17:23:32 -04:00
Kent Overstreet
0a476a0f49 v1.31.6
Some checks failed
build / bcachefs-tools-msrv (push) Has been cancelled
.deb build orchestrator / source-only (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / reprotest (push) Has been cancelled
.deb build orchestrator / publish (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
update-flake-lock / lockfile (push) Has been cancelled
Bugfixes and packaging.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
v1.31.6
2025-09-29 13:55:34 -04:00
koverstreet
1d004a131e
Merge pull request #436 from Conan-Kudo/rpmspec
New RPM packaging
2025-09-28 22:37:26 -04:00
koverstreet
360f62fb02
Merge pull request #440 from ElvishJerricco/push-pnplytwpxkxo
Some checks failed
update-flake-lock / lockfile (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
.deb build orchestrator / source-only (push) Has been cancelled
.deb build orchestrator / publish (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / reprotest (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
nix: Facilitate overriding kernel module
2025-09-28 16:03:22 -04:00
Kent Overstreet
47360ea69f Update bcachefs sources to 446f76b78b1e bcachefs: Fix promote path nocow deadlock
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-28 15:55:04 -04:00
Will Fancher
b3787208d8 nix: Use an overlay 2025-09-28 15:31:26 -04:00
Will Fancher
252a37e2cb nix: Test module 2025-09-28 15:31:26 -04:00
koverstreet
bb78070ade
Merge pull request #439 from LebedevRI/debian
Debian: add reprotest job
2025-09-28 13:49:55 -04:00
Kent Overstreet
1f3122eaa2 cmd_option: Fix io path options
We were incorrectly getting the OPT_MOUNT options, and io path options
are no longer OPT_MOUNT.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-28 11:36:39 -04:00
Roman Lebedev
cb80f2be96
Deb PPA: some more eatmydata musings that i missed in earlier change 2025-09-28 12:30:13 +03:00
Roman Lebedev
8e64a3b967
Deb PPA: consistently install full gnupg, not just gpg 2025-09-28 11:47:30 +03:00
Roman Lebedev
9e26cc289c
Debian: add reprotest job
The packages appear to be generally reproducible,
BUT only if using the same build directory.
I do not yet know why.
2025-09-28 11:46:59 +03:00
koverstreet
35052fc376
Merge pull request #437 from himikof/show_super_fixes
Small improvements in show-super output
2025-09-27 22:24:08 -04:00
Nikita Ofitserov
fe26d257a8 cmd_show_super: Fix ghost devices in the output
Fixes https://github.com/koverstreet/bcachefs/issues/942.
Fixes: 6704e252 ("cmd_show_super: Look up and print names of member devices")

Signed-off-by: Nikita Ofitserov <himikof@gmail.com>
2025-09-28 03:27:39 +03:00
Nikita Ofitserov
0a1ad84c02 cmd_show_super: Print backing file as the loop device "model"
Signed-off-by: Nikita Ofitserov <himikof@gmail.com>
2025-09-28 03:18:34 +03:00
Nikita Ofitserov
a4f2c56ed4 cmd_show_super: Fix device model printing
Make device partition handling independent of the current directory and simplify code.

Use better model placeholders: "(image file)" and "(unknown model)".

Signed-off-by: Nikita Ofitserov <himikof@gmail.com>
2025-09-28 03:12:22 +03:00
Neal Gompa
76012d701b New RPM packaging derived from the Fedora package
This works as a new reference package and can be built from the
Makefile with "make rpm". It will work for virtually all RPM distributions.

Signed-off-by: Neal Gompa <neal@gompa.dev>
2025-09-27 16:48:25 -04:00
Neal Gompa
e84b0bd638 Delete packaging/ directory
Nobody uses this directory to centralize all packaging stuff anyway.

Signed-off-by: Neal Gompa <neal@gompa.dev>
2025-09-27 16:34:27 -04:00
koverstreet
608ccdd381
Merge pull request #435 from LebedevRI/debian
Some checks failed
build / bcachefs-tools-msrv (push) Has been cancelled
.deb build orchestrator / source-only (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / publish (push) Has been cancelled
update-flake-lock / lockfile (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
Debian: ensure smooth upgrade paths when files are moved between packages
2025-09-27 15:20:41 -05:00
Roman Lebedev
b907189f9a
Deb PPA: use eatmydata, bump initial apt timeout 2025-09-27 23:01:49 +03:00
Roman Lebedev
92515aced5
Debian: ensure smooth upgrade paths when files are moved between packages
Upgrade path from bcachefs-tools 1.31.2 -> 1.31.5 is broken,
stuff was moved from -dkms package into main tools package,
and that famously does not work out of the box.

Ensure that any incompatible bcachefs-kernel-dkms package version
is truly marked as being replaced.

See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
See https://wiki.debian.org/PackageTransition, case #10
2025-09-27 22:25:32 +03:00
Kent Overstreet
6e78e3c90f update .gitignore
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-27 14:51:06 -04:00
koverstreet
2820d79b00
Merge pull request #430 from KrzysztofHajdamowicz/master
bcachefs-kernel-dkms: Accept pve-headers as one of alternatives to linux-headers
2025-09-27 12:39:05 -05:00
Will Fancher
d3ced65a68 nix: Build kernel module 2025-09-27 05:22:33 -04:00
Will Fancher
365c84997f nix: Use filesets to reduce rebuilds
Nix expressions will never be used within the build, so let's filter
them out so that editing Nix files never triggers rebuilds.
2025-09-27 03:57:01 -04:00
Will Fancher
e108983356 nix: Respect enableParallelInstalling 2025-09-27 02:48:35 -04:00
Kent Overstreet
52995d73ed v1.31.5
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
v1.31.5
2025-09-26 21:22:55 -04:00
Kent Overstreet
19c32bc7a2 Update bcachefs sources to b0e2c6125656 bcachefs: Fix accounting_read() skip past non-in-mem keys
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 21:21:41 -04:00
Kent Overstreet
9869945621 Update bcachefs sources to 32ed7123aeac bcachefs: Fix accounting_read() skip past non-in-mem keys
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 20:43:12 -04:00
koverstreet
069cc8e957
Merge pull request #431 from LebedevRI/debian
Deb PPA: change how we produce README
2025-09-26 16:19:28 -05:00
Roman Lebedev
6380373800
Deb PPA: change how we produce README 2025-09-26 23:59:44 +03:00
Kent Overstreet
8c2f32e5da cmd_dump: Dump entire btree nodes
Make dump a bit less fragile.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 12:43:50 -04:00
Krzysztof Hajdamowicz
476069fbb4 bcachefs-kernel-dkms: Accept pve-headers as one of alternatives to linux-headers 2025-09-26 10:36:49 +02:00
Kent Overstreet
8469f974d0 v1.31.4
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
v1.31.4
2025-09-26 03:57:29 -04:00
Thomas Mühlbacher
32faba26b8 refactor(nix): use versionCheckHook
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:15:21 -04:00
Thomas Mühlbacher
9eb3e6c076 refactor(nix): move out build into separate file
flake.nix is getting too big and this makes it easier to understand what
is going on with e.g. callPackage.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:15:15 -04:00
Thomas Mühlbacher
126829decf refactor(nix): rm no longer needed build decls
This is now handled by crane for cross builds on its own.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:15:08 -04:00
Thomas Mühlbacher
4c3f66cdaa test(nix): add aarch64 cross build to checks
Just to have a real cross build in checks by default (unless you are
natively on aarch64).

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:14:59 -04:00
Thomas Mühlbacher
35927fb70a flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/d599ae4847e7f87603e7082d73ca673aa93c916d' (2025-09-06)
  → 'github:ipetkov/crane/02063302383f43237602f5aea5a67766b08e4787' (2025-09-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ab0f3607a6c7486ea22229b92ed2d355f1482ee0' (2025-09-10)
  → 'github:nixos/nixpkgs/554be6495561ff07b6c724047bdd7e0716aa7b46' (2025-09-21)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/591c5ae84f066bdfc9797b217df392d58eafd088' (2025-09-12)
  → 'github:oxalica/rust-overlay/b12ed88d8d33d4f3cbc842bf29fad93bb1437299' (2025-09-24)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1aabc6c05ccbcbf4a635fb7a90400e44282f61c4' (2025-08-31)
  → 'github:numtide/treefmt-nix/5eda4ee8121f97b218f7cc73f5172098d458f1d1' (2025-09-24)

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:14:51 -04:00
Thomas Mühlbacher
c6050473c4 refactor(nix): rm now unused imports
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-26 01:14:46 -04:00
koverstreet
8194e2762c
Merge pull request #427 from LebedevRI/debian
Misci Deb PPA changes
2025-09-25 22:34:35 -05:00
Kent Overstreet
61a811172a Update bcachefs sources to ceaf9ded6efd bcachefs: Fix a FORTIFY_SOURCE splat
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-25 17:14:42 -04:00