Kent Overstreet
2303fad2be
v1.31.1
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
v1.31.1
2025-09-17 18:31:49 -04:00
Kent Overstreet
c8a1412711
Fix fuse build
...
build / bcachefs-tools-msrv (push) Has been cancelled
.deb build orchestrator / source-only (push) Has been cancelled
.deb build orchestrator / buildd (forky, map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (forky, map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (trixie, map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (trixie, map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (unstable, map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (unstable, map[arch:arm64 runs-on:ubuntu-24.04-arm]) (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
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 16:45:38 -04:00
Kent Overstreet
f00a2843aa
fix spaces instead of tabs
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 15:53:17 -04:00
Kent Overstreet
1c64faafe7
Fix build on old userspace
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 12:38:53 -04:00
Kent Overstreet
b6bb1e2a11
Update bcachefs sources to ff14f7886ed9 bcachefs: compat code for pre 6.17
2025-09-17 12:38:53 -04:00
Kent Overstreet
5862ca9f02
kill systemd integration
...
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>
2025-09-17 12:38:52 -04:00
Kent Overstreet
6375fda6ec
Update bcachefs sources to c819a7757912 bcachefs: kill write_(begin|end)
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 12:38:33 -04:00
Kent Overstreet
20667b55f8
makefile cleanup
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 12:38:33 -04:00
Kent Overstreet
1bf97bb2de
drop bcachefs-tools-deb workflow
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 00:56:44 -04:00
Kent Overstreet
993396bb57
Fix initramfs hook installation
...
We have to create the final hook before installation for debian package
builds.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 00:37:46 -04:00
Kent Overstreet
7d37ce6485
debian: fix dkms
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 00:18:45 -04:00
Kent Overstreet
525d7f816f
debian: export PREFIX
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-17 00:03:03 -04:00
Kent Overstreet
75fcddb7a2
Makefile: install DKMS
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-16 23:47:30 -04:00
koverstreet
49f0c654ac
Merge pull request #407 from LebedevRI/debian
...
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (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 (forky, map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (forky, map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (trixie, map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (trixie, map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
.deb build orchestrator / buildd (unstable, map[arch:amd64 runs-on:ubuntu-latest]) (push) Has been cancelled
.deb build orchestrator / buildd (unstable, map[arch:arm64 runs-on:ubuntu-24.04-arm]) (push) Has been cancelled
debian package vendoring and PPA
2025-09-16 13:59:53 -04:00
Roman Lebedev
a06a4bb5ea
debian package vendoring and PPA
2025-09-16 20:49:02 +03:00
Kent Overstreet
5dd5a0d3e2
Update bcachefs sources to f611e3b87fb5 bcachefs: kill build warning in userspace
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
2025-09-15 14:38:20 -04:00
Kent Overstreet
4eefef7868
scrub: Return code now indicates corrected/uncorrected errors
...
Matches error codes of fsck for corrected/uncorrected errors.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-15 12:34:13 -04:00
Kent Overstreet
ad41f28c4c
v1.31.0: bcachefs_metadata_version_btree_node_accounting
...
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
v1.31.0
2025-09-14 11:30:44 -04:00
Kent Overstreet
6ad0fa30a9
Update bcachefs sources to 1c8d3fc41e72 bcachefs: fast_list.c is only required for async obj debugging
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-14 11:28:41 -04:00
koverstreet
0c6b9627a4
Merge pull request #406 from koverstreet/update_flake_lock_action
...
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (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
flake.lock: Update
2025-09-12 00:47:09 -04:00
github-actions[bot]
9d81a56b1c
flake.lock: Update
...
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)
2025-09-12 04:43:53 +00:00
koverstreet
051728a032
Merge pull request #405 from samhug/fix-nix-version
...
update nix build to pull version from Cargo.toml
2025-09-12 00:43:09 -04:00
Sam Hug
b3c167169c
update nix build to pull version from Cargo.toml
2025-09-11 20:30:45 -07:00
Kent Overstreet
612cb935b4
Debian updates
...
Pulled from last Debian bcachefs-tools package, plus dkms hook.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-11 18:13:49 -04:00
Frederik Schwan
00ad9b1ed1
add dkms support
...
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
Signed-off-by: Frederik Schwan <frederik@tty42.de>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-11 16:33:53 -04:00
Kent Overstreet
b271bb146e
Version is now pulled from Cargo.toml
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-10 23:18:40 -04:00
Kent Overstreet
13c8026c10
cmd_list_journal: Transaction filtering now works correctly
...
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
Previously, we'd skip all transactions after the first non-transaction
entry - oops.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-09 18:13:24 -04:00
Kent Overstreet
aa5bd95e3c
Update bcachefs sources to 292344971769 bcachefs: Read retries are after checksum errors now REQ_FUA
...
Nix Flake actions / nix-matrix (push) Has been cancelled
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-07 20:43:23 -04:00
koverstreet
aea2000239
Merge pull request #403 from koverstreet/update_flake_lock_action
...
flake.lock: Update
2025-09-07 20:39:08 -04:00
Kent Overstreet
1c551b0fbf
fix shrinker_free()
...
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-06 23:28:17 -04:00
Nikita Ofitserov
a1e870abb7
cmd_migrate: Prevent spurious "Superblock modified by another process" errors
...
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>
2025-09-06 17:56:19 -04:00
Nikita Ofitserov
b1021e7b39
cmd_migrate: Make fsck after migrate-superblock debug-only
...
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>
2025-09-06 17:56:19 -04:00
Nikita Ofitserov
805319c0ef
cmd_migrate: Open the device in exclusive mode for migrate-superblock
...
Signed-off-by: Nikita Ofitserov <himikof@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-06 17:56:19 -04:00
Nikita Ofitserov
85184478aa
cmd_migrate: Small fixes
...
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>
2025-09-06 17:56:19 -04:00
Nikita Ofitserov
020763ad66
cmd_migrate: Reimplement cmd_migrate_superblock
...
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>
2025-09-06 17:56:19 -04:00
Nikita Ofitserov
277ddb57ef
cmd_migrate: Introduce add_default_sb_layout helper
...
Signed-off-by: Nikita Ofitserov <himikof@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-06 17:56:19 -04:00
Nikita Ofitserov
ed95a9f311
cmd_migrate: Introduce mark_nouse_range helper
...
Signed-off-by: Nikita Ofitserov <himikof@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-09-06 17:56:19 -04:00
Kent Overstreet
31c7a7398a
format: Do a 'udevadm trigger' after formatting
...
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
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-06 01:43:44 -04:00
Kent Overstreet
e65dd86e41
bcachefs undump
...
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
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-01 15:11:56 -04:00
github-actions[bot]
3706007a81
flake.lock: Update
...
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-09-01 01:25:40 +00:00
Kent Overstreet
da8f1d04e3
Plumb subvol v2 ioctls with proper error messages
...
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
update-flake-lock / lockfile (push) Has been cancelled
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-28 20:06:04 -04:00
Kent Overstreet
f296464b1c
__errmsg_ioctl()
...
less macro-ing
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-28 20:06:04 -04:00
Kent Overstreet
a59519d72a
Update bcachefs sources to f5a0255e6524 bcachefs: v2 versions of subvolume ioctls
2025-08-28 13:40:49 -04:00
Kent Overstreet
77ca58e3a7
posix_to_bcachefs.c: Use rhashtable for tracking hardlinks
...
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
bcachefs uses 64 bit inode numbers by default, which overflow genradix
keys when we multiply the inode number by the object size for the actual
genradix lookup.
Switch to a rhashtable, and only index files that actually have
hardlinks.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-28 13:40:49 -04:00
NewbieOrange
34f9eeba1d
mount: try to mount even if module is not loaded
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-27 19:22:37 -04:00
Kent Overstreet
90cbe3f3b4
Update bcachefs sources to 753b29cc7989 bcachefs: opts.data_allowed should be OPT_FORMAT
2025-08-27 18:47:54 -04:00
Angelo Bulfone
4b97a99fa2
Allow block sizes smaller than backing medium
2025-08-27 18:47:54 -04:00
Kent Overstreet
9d90c968b1
Compat code for errmsg ioctls
...
Fall back to pre errmsg ioctls on old kernels.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-27 18:47:54 -04:00
Kent Overstreet
c12d7b3315
Commands called with no arguments now print usage
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-27 18:47:54 -04:00
Kent Overstreet
45b2f382db
errmsg_ioctl() - resize, resize_journal
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18 13:04:19 -04:00