Manuel Mendez
d48719f752
c_src: Consistently use no_argument instead of 0
2025-10-07 16:23:06 -04:00
Manuel Mendez
30fcb00f69
c_src: Ensure all commands support -h and --help
2025-10-07 16:23:03 -04:00
Manuel Mendez
7873eb976e
c_src: Align and standardize help outputs
...
While adding scrub to data in last commit I noticed that the help output
where all over the place, both "physically" on the console and also
things like inconsistent case and newlines before "Report bugs to ...",
so I decided to fix all that up.
2025-10-07 16:22:50 -04:00
Manuel Mendez
eb75b55d59
cmd_data: Add scrub to help output
2025-10-07 16:19:13 -04:00
Kent Overstreet
8e248987a1
Update bcachefs sources to 3d3594d63070 bcachefs: simplify __bch2_inode_rm_snapshot()
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-10-07 13:39:16 -04:00
Kent Overstreet
e129d33d47
Update bcachefs sources to 433c38cfa796 bcachefs: Drop ptrs before calling bch2_bkey_set_needs_rebalance()
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-10-06 21:19:01 -04:00
koverstreet
c98059d35e
Merge pull request #450 from LebedevRI/debian
...
Debian: cross-build support
2025-10-06 18:17:10 -04:00
Kent Overstreet
145ffa823b
Update bcachefs sources to b31b8a82b13e bcachefs: fix ctime update on unlink
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-10-06 17:18:03 -04:00
koverstreet
36191ce280
Merge pull request #444 from JohnRTitor/handle-dir-and-file-fsck
...
device-scan: instead of panicking handle when bcachefs is given directory or file as argument
2025-10-06 10:30:59 -04:00
John Titor
36cc57f0ac
device-scan: instead of panicking handle when bcachefs is given directory or file as argument
2025-10-06 19:47:20 +05:30
Roman Lebedev
015845f3e4
Debian: cross-build support
...
For debian distros, we're lucky and cross-build *now* just works,
and is as fast as native amd64 builds.
For ubuntu, things are ugly. On questing it currently does not work,
(but maybe they will fix it later), however on plucky it just doesn't work.
So i'm just disabling ppc64el ubuntu builds
since full cross-compilation is really slow,
but if someone actually needs them, those can be reenabled...
2025-10-06 14:45:23 +03:00
koverstreet
07a61cb457
Merge pull request #449 from LebedevRI/debian
...
Last-ditch effort to fix publish job
2025-10-05 18:00:15 -04:00
Roman Lebedev
7730d7f4d8
Last-ditch effort to fix publish job
2025-10-06 00:47:08 +03:00
koverstreet
fa5223a4c1
Merge pull request #448 from LebedevRI/debian
...
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[build-arch:amd64 host-arch:amd64 machine-arch:amd64 runs-on:ubuntu-24.04]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[build-arch:arm64 host-arch:arm64 machine-arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:forky], map[build-arch:ppc64el host-arch:ppc64el machine-arch:amd64 runs-on:ubuntu-24.04]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[build-arch:amd64 host-arch:amd64 machine-arch:amd64 runs-on:ubuntu-24.04]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[build-arch:arm64 host-arch:arm64 machine-arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:trixie], map[build-arch:ppc64el host-arch:ppc64el machine-arch:amd64 runs-on:ubuntu-24.04]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[build-arch:amd64 host-arch:amd64 machine-arch:amd64 runs-on:ubuntu-24.04]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[build-arch:arm64 host-arch:arm64 machine-arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:debian version:unstable], map[build-arch:ppc64el host-arch:ppc64el machine-arch:amd64 runs-on:ubuntu-24.04]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[build-arch:amd64 host-arch:amd64 machine-arch:amd64 runs-on:ubuntu-24.04]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[build-arch:arm64 host-arch:arm64 machine-arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:plucky], map[build-arch:ppc64el host-arch:ppc64el machine-arch:amd64 runs-on:ubuntu-24.04]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[build-arch:amd64 host-arch:amd64 machine-arch:amd64 runs-on:ubuntu-24.04]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[build-arch:arm64 host-arch:arm64 machine-arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (map[name:ubuntu version:questing], map[build-arch:ppc64el host-arch:ppc64el machine-arch:amd64 runs-on:ubuntu-24.04]) (push) Has been cancelled
.deb build orchestrator / reprotest (push) Has been cancelled
.deb build orchestrator / publish (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
Unbreak Deb Publish job
2025-10-05 16:07:32 -04:00
Roman Lebedev
f4f49dbe33
Unbreak Deb Publish job
2025-10-05 23:04:53 +03:00
koverstreet
50e2118af7
Merge pull request #447 from LebedevRI/debian
...
A few more follow-up fix-ups for Deb PPA
2025-10-05 15:00:42 -04:00
Roman Lebedev
2d2e2b7223
Deb PPA: fix publish job
2025-10-05 21:57:16 +03:00
Roman Lebedev
c263923e0d
Debian: document that debug info flags are unapplicable for us
2025-10-05 21:57:16 +03:00
Roman Lebedev
766f89f0f2
Deb PPA: use vendor-filterer
2025-10-05 21:57:16 +03:00
Roman Lebedev
cde5a63cd3
Cargo.toml: relax vendor-filterer platform match
2025-10-05 21:57:16 +03:00
koverstreet
5ec60f7f0f
Merge pull request #446 from LebedevRI/debian
...
Deb PPA rewrite, adding packages for ppc64el
2025-10-05 14:01:50 -04:00
John Titor
9e4acfeae6
crane-build: fix by github actions tests by skipping some test on aarch64
...
> bcachefs::bindgen_test_layout_bch_replicas_padded__bindgen_ty_1
> bcachefs::bindgen_test_layout_bch_replicas_padded__bindgen_ty_2
> bcachefs::bindgen_test_layout_bch_replicas_padded__bindgen_ty_3
> bcachefs::bindgen_test_layout_bch_replicas_padded__bindgen_ty_4
Update flake.lock
2025-10-05 21:59:19 +05:30
Roman Lebedev
07bf2c16cb
Deb PPA rewrite, adding packages for ppc64el
...
TLDR: instead of running the entirety of the job in the container,
start a detached container, and manually run each step
in detached container. This allows to run stuff outside of container.
2025-10-05 16:38:42 +03:00
Kent Overstreet
65e90ce9cf
Smaller vendored tarballs
...
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 / reprotest (push) Has been cancelled
.deb build orchestrator / publish (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
Switch to cargo-vendor-filter, which allows us to filter out
dependencies that are only needed on platforms we won't be building for.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-10-04 13:00:29 -04:00
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
...
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
...
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