summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
14 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
2025-08-28posix_to_bcachefs.c: Use rhashtable for tracking hardlinksKent Overstreet
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-27mount: try to mount even if module is not loadedNewbieOrange
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-27Update bcachefs sources to 753b29cc7989 bcachefs: opts.data_allowed should ↵Kent Overstreet
be OPT_FORMAT
2025-08-27Allow block sizes smaller than backing mediumAngelo Bulfone
2025-08-27Compat code for errmsg ioctlsKent Overstreet
Fall back to pre errmsg ioctls on old kernels. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-27Commands called with no arguments now print usageKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18errmsg_ioctl() - resize, resize_journalKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18Update bcachefs sources to bd062cbcd84d bcachefs: Add v2 ioctls that return ↵Kent Overstreet
error strings
2025-08-18errmsg_ioctl() - v2 ioctls that return error messagesKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18Update bcachefs sources to 62003adb7cbd bcachefs: Add v2 ioctls that return ↵Kent Overstreet
error strings Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18nul-terminate readlink() outputKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18implement BCH_IOCTL_DISK_SET_STATE_v2Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18cmd_fs_usage: Improve device summaryKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18replicas_summary_to_text()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18Update bcachefs sources to d863521e4078 bcachefs: BCH_IOCTL_DISK_SET_STATE_v2Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-18cmd_fs_usage: Summary of replicas infoKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-17dev_name.stateKent Overstreet
Get memebr state when we're getting device names. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-16bcachefs image create now takes --versionKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-16document bcachefs format --versionKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-12Logging: version_upgrade `incompat`->`incompatible`Zoom
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-12Docs: `setattr`>`set-file-option`, line break in `fs usage`Zoom
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-08device_scan now uses no_version_checkKent Overstreet
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-08Update bcachefs sources to 8ffa87fa39d7 bcachefs: Fix journal stuck messageKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-06cmd_fs_usage: BCH_DATA_unstriped isn't a real bucket typeKent Overstreet
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-04cmd_fs_usage: --fields, --allKent Overstreet
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-03Update bcachefs sources to 933c0b52a810 bcachefs: error_throw counterKent Overstreet
2025-08-03cmd_fs_usage: print bucket sizeKent Overstreet
Also: fragmented now includes empty buckets (for BCH_DATA_stripe). And some cleanup. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-03Update bcachefs sources to 62ab4bbc5290 bcachefs: ↵Kent Overstreet
bcachefs_metadata_version_extent_snapshot_whiteouts Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-02Update bcachefs sources to 68b6a68ecf72 bcachefs: bch2_fs_opt_version_init()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-02Update bcachefs sources to fc21725d2621 workqueue: Basic memory allocation ↵Kent Overstreet
profiling support
2025-08-02cmd_show_super: Look up and print names of member devicesKent Overstreet
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-02Update bcachefs sources to dca6a42b7467 bcachefs: bch2_member_to_text()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-08-01get_or_split_cmdline_devs() now scans for component devicesKent Overstreet
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-01device_scan.rsKent Overstreet
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-01Update bcachefs sources to 86a9bf9142f7 bcachefs: Read retries are after ↵Kent Overstreet
checksum errors now REQ_FUA Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-28Update bcachefs sources to 055c5700a7df workqueue: Basic memory allocation ↵Kent Overstreet
profiling support
2025-07-25document cmd_fsck --no-kernelKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-24Enforce a soft minimum limit of 64k for bucket sizeKent Overstreet
< 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-20bcachefs: Fixes for bucket size calculationsKent Overstreet
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-20Merge pull request #396 from iav/debvers1.25.3koverstreet
change version number for .deb package
2025-07-20Update bcachefs sources to e54ff0aa9688 bcachefs: Hook up progress ↵Kent Overstreet
indicators for most recovery passes
2025-07-20change version number for .deb packageIgor Velkov
2025-07-20cmd_dump: --sanitizeKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-07-20cmd_dump: split out dump_fs()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>