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
Kent Overstreet
916b8959fe
Update bcachefs sources to bd062cbcd84d bcachefs: Add v2 ioctls that return error strings
2025-08-18 13:02:45 -04:00
Kent Overstreet
760d43376c
errmsg_ioctl() - v2 ioctls that return error messages
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18 12:55:28 -04:00
Kent Overstreet
ca482e7fd8
Update bcachefs sources to 62003adb7cbd bcachefs: Add v2 ioctls that return error strings
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18 12:49:11 -04:00
Kent Overstreet
459060f763
nul-terminate readlink() output
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18 11:57:37 -04:00
Kent Overstreet
53e144e93b
implement BCH_IOCTL_DISK_SET_STATE_v2
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18 11:47:26 -04:00
Kent Overstreet
8c009da94e
cmd_fs_usage: Improve device summary
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18 11:19:30 -04:00
Kent Overstreet
3b61ec3dba
replicas_summary_to_text()
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18 11:06:49 -04:00
Kent Overstreet
905297ad0f
Update bcachefs sources to d863521e4078 bcachefs: BCH_IOCTL_DISK_SET_STATE_v2
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18 00:17:11 -04:00
Kent Overstreet
c1c4d03aa6
cmd_fs_usage: Summary of replicas info
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18 00:13:33 -04:00
Kent Overstreet
f968aa040b
dev_name.state
...
Get memebr state when we're getting device names.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-17 18:27:05 -04:00
Kent Overstreet
4226cd1854
bcachefs image create now takes --version
...
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-08-16 17:55:36 -04:00
Kent Overstreet
02f0965054
document bcachefs format --version
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-16 17:52:58 -04:00
Zoom
6900dbe0a5
Logging: version_upgrade incompat->incompatible
...
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-08-12 21:23:54 -04:00
Zoom
833b0acac7
Docs: setattr>set-file-option, line break in fs usage
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-12 21:23:49 -04:00
Kent Overstreet
530e8ade4e
device_scan now uses no_version_check
...
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
Fix a compatibility issue - old tools can now mount newer filesystems
with incompatible features, even if they can't do anything else with
them.
cmd_show_super now uses no_version_check as well.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-08 19:35:16 -04:00
Kent Overstreet
28db8e8e79
Update bcachefs sources to 8ffa87fa39d7 bcachefs: Fix journal stuck message
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-08 19:32:43 -04:00
Kent Overstreet
06c8b3dd63
cmd_fs_usage: BCH_DATA_unstriped isn't a real bucket type
...
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
BCH_DATA_unstriped tracks unstriped data in stripe member buckets, it
double counts a portion of BCH_DATA_stripe.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-06 13:09:03 -04:00
Kent Overstreet
6abef4e0ed
cmd_fs_usage: --fields, --all
...
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
cmd_fs_usage now prints only base info by default, btree and device
accounting can be printed with flags
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-04 17:33:17 -04:00
Kent Overstreet
bf5ff08924
Update bcachefs sources to 933c0b52a810 bcachefs: error_throw counter
2025-08-03 21:33:32 -04:00
Kent Overstreet
06e5ad9a7e
cmd_fs_usage: print bucket size
...
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
Also: fragmented now includes empty buckets (for BCH_DATA_stripe).
And some cleanup.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-03 17:21:37 -04:00
Kent Overstreet
59c53fff2d
Update bcachefs sources to 62ab4bbc5290 bcachefs: bcachefs_metadata_version_extent_snapshot_whiteouts
...
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-08-03 12:15:55 -04:00
Kent Overstreet
128e5e23d3
Update bcachefs sources to 68b6a68ecf72 bcachefs: bch2_fs_opt_version_init()
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-02 21:12:25 -04:00
Kent Overstreet
a15e15326b
Update bcachefs sources to fc21725d2621 workqueue: Basic memory allocation profiling 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
2025-08-02 15:06:19 -04:00
Kent Overstreet
6704e252ef
cmd_show_super: Look up and print names of member devices
...
bch2_sb_to_text_with_names(): print device paths and models of each
member.
Fixes: https://github.com/koverstreet/bcachefs/issues/801
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-02 13:22:13 -04:00
Kent Overstreet
4174fe0bae
Update bcachefs sources to dca6a42b7467 bcachefs: bch2_member_to_text()
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-02 12:16:36 -04:00
Kent Overstreet
6eda7d1831
get_or_split_cmdline_devs() now scans for component devices
...
Fix accidental splitbrain issues caused by writing to only some of a
filesystem's devices: now, all subcommands that take member devices will
scan for all members before opening.
Fixes: https://github.com/koverstreet/bcachefs/issues/924
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-01 18:35:33 -04:00
Kent Overstreet
c97bc37ae8
device_scan.rs
...
Pull out the code for scanning for component devices into a separate
module with a nicer interface.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-01 18:35:33 -04:00
Kent Overstreet
e6a98de61a
Update bcachefs sources to 86a9bf9142f7 bcachefs: Read retries are after checksum errors now REQ_FUA
...
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-08-01 11:13:48 -04:00
Kent Overstreet
2d5b35dd34
Update bcachefs sources to 055c5700a7df workqueue: Basic memory allocation profiling 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
update-flake-lock / lockfile (push) Has been cancelled
2025-07-28 19:56:35 -04:00
Kent Overstreet
e0b9c3da02
document cmd_fsck --no-kernel
...
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-07-25 00:17:55 -04:00
Kent Overstreet
43bca0cd63
Enforce a soft minimum limit of 64k for bucket size
...
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
Nix Flake actions / nix-matrix (push) Has been cancelled
< 64k buckets don't work reliably anymore, we deadlock in the journal
when we try to write too big of a journal entry.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-24 12:02:22 -04:00
Kent Overstreet
5023292623
bcachefs: Fixes for bucket size calculations
...
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
Make sure bucket size >= btree_node_size when adding a device, and
cmd_image_update needs to make sure the metadata device is big enough
for the minimum number of buckets.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 22:48:44 -04:00
koverstreet
fe7acffa4a
Merge pull request #396 from iav/debvers1.25.3
...
change version number for .deb package
2025-07-20 21:14:36 -05:00
Kent Overstreet
bb6528ab73
Update bcachefs sources to e54ff0aa9688 bcachefs: Hook up progress indicators for most recovery passes
2025-07-20 21:54:12 -04:00
Igor Velkov
e1c51c4231
change version number for .deb package
2025-07-20 21:53:32 +03:00
Kent Overstreet
11f3aee1e6
cmd_dump: --sanitize
...
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
update-flake-lock / lockfile (push) Has been cancelled
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 13:04:59 -04:00
Kent Overstreet
c00f25b3cc
cmd_dump: split out dump_fs()
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 12:21:03 -04:00
Kent Overstreet
191d5b4b09
ranges_sort()
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 11:56:42 -04:00
Kent Overstreet
fdf2819481
cmd_dump improvements
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 11:56:42 -04:00
Kent Overstreet
54be622b28
qcow2: Refactor to prep for sanitizing
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 11:56:42 -04:00
Kent Overstreet
2f28824c2b
qcow2: qcow2_write_(buf|ranges)
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 11:56:42 -04:00
koverstreet
1b832f3739
Merge pull request #395 from koverstreet/update_flake_lock_action
...
flake.lock: Update
2025-07-20 11:56:42 -04:00
Kent Overstreet
01db49fe5b
Don't make clippy failures nix flake failures
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 11:56:42 -04:00
github-actions[bot]
67a804f397
flake.lock: Update
...
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/70947c1908108c0c551ddfd73d4f750ff2ea67cd?narHash=sha256-vVOAp9ahvnU%2BfQoKd4SEXB2JG2wbENkpqcwlkIXgUC0%3D' (2025-03-19)
→ 'github:ipetkov/crane/544d09fecc8c2338542c57f3f742f1a0c8c71e13?narHash=sha256-g5uP3jIj%2BSTUcfTJDKYopxnSijs2agRg13H0SGL5iE4%3D' (2025-07-19)
• Updated input 'flake-compat':
'github:edolstra/flake-compat/ff81ac966bb2cae68946d5ed5fc4994f96d0ffec?narHash=sha256-NeCCThCEP3eCl2l/%2B27kNNK7QrwZB1IJCrXfrbv5oqU%3D' (2024-12-04)
→ 'github:edolstra/flake-compat/9100a0f413b0c601e0533d1d94ffd501ce2e7885?narHash=sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX%2BfjA8Xf8PUmqCY%3D' (2025-05-12)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/f4330d22f1c5d2ba72d3d22df5597d123fdb60a9?narHash=sha256-%2Bu2UunDA4Cl5Fci3m7S643HzKmIDAe%2BfiXrLqYsR2fs%3D' (2025-03-07)
→ 'github:hercules-ci/flake-parts/77826244401ea9de6e3bac47c2db46005e1f30b5?narHash=sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ%3D' (2025-07-01)
• Updated input 'flake-parts/nixpkgs-lib':
'github:nix-community/nixpkgs.lib/147dee35aab2193b174e4c0868bd80ead5ce755c?narHash=sha256-oiwv/ZK/2FhGxrCkQkB83i7GnWXPPLzoqFHpDD3uYpk%3D' (2025-03-02)
→ 'github:nix-community/nixpkgs.lib/14a40a1d7fb9afa4739275ac642ed7301a9ba1ab?narHash=sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo%3D' (2025-06-29)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/a84ebe20c6bc2ecbcfb000a50776219f48d134cc?narHash=sha256-mNqIplmEohk5jRkqYqG19GA8MbQ/D4gQSK0Mu4LvfRQ%3D' (2025-03-19)
→ 'github:nixos/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf?narHash=sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc%3D' (2025-07-19)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/70bf752d176b2ce07417e346d85486acea9040ef?narHash=sha256-KzTwk/5ETJavJZYV1DEWdCx05M4duFCxCpRbQSKWpng%3D' (2025-03-21)
→ 'github:oxalica/rust-overlay/95719de18aefa63a624bf75a1ff98744b089ec12?narHash=sha256-qRRP3QavbwW0o%2BLOh31QNEfCgPlzK5SKlWALUJL6T7E%3D' (2025-07-20)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/adc195eef5da3606891cedf80c0d9ce2d3190808?narHash=sha256-XRE8hL4vKIQyVMDXykFh4ceo3KSpuJF3ts8GKwh5bIU%3D' (2025-03-19)
→ 'github:numtide/treefmt-nix/421b56313c65a0815a52b424777f55acf0b56ddf?narHash=sha256-tzbhc4XttkyEhswByk5R38l%2BztN9UDbnj0cTcP6Hp9A%3D' (2025-07-20)
2025-07-20 11:56:42 -04:00
Kent Overstreet
e6a1c855ca
bump version to 1.25.3
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 11:56:42 -04:00
Kent Overstreet
6f9d09aaf3
kill ubuntu 22.04 build
...
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20 11:56:42 -04:00
Kent Overstreet
e17d8841ef
Update bcachefs sources to c1ec91699f60 workqueue: Basic memory allocation profiling support
build / bcachefs-tools-deb (ubuntu-22.04) (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 / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled
v1.25.3
2025-07-19 14:29:30 -04:00
Kent Overstreet
ffe083c31d
Fix clang build errors
...
build / bcachefs-tools-deb (ubuntu-22.04) (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 / 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-07-17 17:38:44 -04:00
Kent Overstreet
8471005b9f
Update bcachefs sources to deeffbdc52f1 bcachefs: better device too small error message
...
build / bcachefs-tools-deb (ubuntu-22.04) (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 / 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-07-15 18:41:03 -04:00