summaryrefslogtreecommitdiff
path: root/libbcachefs
AgeCommit message (Collapse)Author
2024-02-22TypoRoland Vet
Signed-off-by: Roland Vet <RlndVt@protonmail.com>
2024-02-20Update bcachefs sources to c887148ebf99 thread_with_file: add f_ops.flushKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-02-15Update bcachefs sources to 9a555a741e80 bcachefs: omit alignment attribute ↵v1.6.2Kent Overstreet
on big endian struct bkey
2024-02-10Update bcachefs sources to 39a84c99af2d bcachefs: Clamp replicas_required to ↵Kent Overstreet
replicas
2024-02-09Update bcachefs sources to bee7b5a4fa21 bcachefs: Pin btree cache in ram for ↵Kent Overstreet
random access in fsck Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-02-06Update bcachefs sources to 50847e296b34 bcachefs: Check subvol <-> inode ↵Kent Overstreet
pointers in check_inode() Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-26fix(libbcachefs/ioctl): `dirfd` should be a signed 32 bits integerRaito Bezarius
`AT_FDCWD` is defined as a macro constant: -100, it works in C… because C. But in Rust, this will be exposed as a u32 instead of a i32, which is the correct variable type for it.
2024-01-24Update bcachefs sources to 481b5f343248 bcachefs: Better error messages for ↵Kent Overstreet
missing inodes in fsck Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-16Move c_src dirs back to toplevelKent Overstreet
We just wanted c sourcefiles out of the top level, not c source directories. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-16move Rust sources to top level, C sources into c_srcThomas Bertschinger
This moves the Rust sources out of rust_src/ and into the top level. Running the bcachefs executable out of the development tree is now: $ ./target/release/bcachefs command or $ cargo run --profile release -- command instead of "./bcachefs command". Building and installing is still: $ make && make install Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-05Update bcachefs sources to cbb2e45634dd bcachefs: fix simulateously ↵Kent Overstreet
upgrading & downgrading Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-05Update bcachefs sources to d267e10a43b2 bcachefs: __bch2_sb_field_to_text()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-03Update bcachefs sources to 2a6125decb43 bcachefs: bch_sb_field_downgradeKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-30Update bcachefs sources to 5264e9f4d0c0 bcachefs: fix setting ↵Kent Overstreet
version_upgrade_complete
2023-12-24Update bcachefs sources to 44ac32df8e0c bcachefs: Split brain detectionKent Overstreet
2023-12-23Update bcachefs sources to 72740a707b64 bcachefs: Split brain detectionKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-22Update bcachefs sources to c6d45169c6 bcachefs: Convert split_devs() to darrayKent Overstreet
2023-12-21Update bcachefs sources to df6415fefb27 bcachefs: Fixes for rust bindgenKent Overstreet
2023-12-21Update bcachefs sources to 5d0a6c2b32f1 bcachefs: ↵Kent Overstreet
check_directory_structure() can now be run online
2023-12-18Update bcachefs sources to 1a739db0b256 bcachefs; guard against overflow in ↵Kent Overstreet
btree node split Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-15Update bcachefs sources to 841a95c29f4c bcachefs: fix userspace build errorsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-07Update bcachefs sources to 6d44812757dd bcachefs: BCH_IOCTL_FSCK_ONLINEKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-30Update bcachefs sources to 71a5b27e017d bcachefs: Make backpointer fsck wb ↵Kent Overstreet
flush check more rigorous Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-29Update bcachefs sources to 676dd269f0f8 mean and variance: Promote to lib/mathKent Overstreet
2023-11-29Update bcachefs sources to eb83f1f842bb mean and variance: Promote to lib/mathKent Overstreet
2023-11-29Update bcachefs sources to c3e4d892b77b mean and variance: Promote to lib/mathKent Overstreet
2023-11-27Update bcachefs sources to feaca6edbd24 mean and variance: Promote to lib/mathKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-25Update bcachefs sources to 8c94740b1bf8 bcachefs: Add missing vaidation for ↵Kent Overstreet
jset_entry_data_usage
2023-11-22Update bcachefs sources to 783085c3cc44 kbuild: Allow gcov to be enabled on ↵Kent Overstreet
the command line Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-16Update bcachefs sources to 938f680845d1 fixup! rename and export ↵Kent Overstreet
__kern_path_locked()
2023-11-12Update bcachefs sources to 3ca08ab51ec9 bcachefs: six locks: Simplify ↵Kent Overstreet
optimistic spinning Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-08btree_write_buffer: ensure atomic64_sub_return_release availabilityv1.3.3Nicholas Sielicki
prior to this patch, on certain platforms (ie: armv7l), compilation fails due to atomic64_sub_return_release not being defined here. Ensure that the atomics header is pulled in, and ensure that it is available in all cases, regardless of whether ATOMIC64_SPINLOCK is defined. Signed-off-by: Nicholas Sielicki <linux@opensource.nslick.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-03Update bcachefs sources to d464ec667b2b bcachefs: Add missing printk newlinesKent Overstreet
2023-11-02Update bcachefs sources to b9bd69421f73 bcachefs: x-macro-ify inode flags enumv1.3.1Kent Overstreet
2023-10-27Update bcachefs sources to 6628827a8707 bcachefs: Skip deleted members in ↵Kent Overstreet
member_to_text()
2023-10-27Update bcachefs sources to 7250b2ee5574 bcachefs: Fix deleted inodes btree ↵Kent Overstreet
in snapshot deletion
2023-10-25Update bcachefs sources to 0d63ed13ea3d closures: Fix race in closure_sync()v1.3Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-20Update bcachefs sources to f70a3402188e bcachefs: Fix ca->oldest_gen allocationKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-19Update bcachefs sources to 24bdb6fed91c bcachefs: bch2_btree_id_str()Kent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-18Update bcachefs sources to a180af9dd349 bcachefs: Refactor memcpy into ↵Kent Overstreet
direct assignment Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-08Update bcachefs sources to 7bf1ac0d46 bcachefs: Correctly initialize new ↵Kent Overstreet
buckets on device resize Signed-off-by: Hunter Shaffer <huntershaffer182456@gmail.com>
2023-09-26Update bcachefs sources to a1b6677dca57 bcachefs: Fix looping around ↵Kent Overstreet
bch2_propagate_key_to_snapshot_leaves()
2023-09-26Update bcachefs sources to 1336a995cbc3 bcachefs: Silence transaction ↵Kent Overstreet
restart error message
2023-09-23Update bcachefs sources to f9c612bbf82d bcachefs: Fixes for building in ↵Kent Overstreet
userspace Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-09-08cmd_set_passphrase: revoke the invalidated keyColin Gillespie
After setting a new passphrase, the previous key is left untouched. This revokes the old key, preventing future actions from using it in error. Signed-off-by: Colin Gillespie <colin@cgillespie.xyz>
2023-08-28Update bcachefs sources to e7f6215768 bcachefs: Fix snapshot_skiplist_good()Kent Overstreet
2023-08-18Update bcachefs sources to bed61fae3b bcachefs: Delete a faulty assertionKent Overstreet
2023-08-17Update bcachefs sources to a8115093df bcachefs: Fix divide by zero in ↵Kent Overstreet
rebalance_work()
2023-08-11Update bcachefs sources to b0788c47d9 bcachefs: Fix check_version_upgrade()Kent Overstreet
2023-08-06Update bcachefs sources to 717b356d1d bcachefs: Convert journal validation ↵Kent Overstreet
to bkey_invalid_flags Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>