Commit Graph

467 Commits

Author SHA1 Message Date
Kent Overstreet
d101ad4a61 Update bcachefs sources to 44ac32df8e0c bcachefs: Split brain detection 2023-12-24 08:48:31 -05:00
Kent Overstreet
f0334bbc10 Update bcachefs sources to 72740a707b64 bcachefs: Split brain detection
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-23 17:10:03 -05:00
Kent Overstreet
5134a64ceb Update bcachefs sources to c6d45169c6 bcachefs: Convert split_devs() to darray 2023-12-22 21:21:14 -05:00
Kent Overstreet
596ec1050d Update bcachefs sources to df6415fefb27 bcachefs: Fixes for rust bindgen 2023-12-21 19:49:00 -05:00
Kent Overstreet
93241a1c9a Update bcachefs sources to 5d0a6c2b32f1 bcachefs: check_directory_structure() can now be run online 2023-12-21 19:10:40 -05:00
Kent Overstreet
f76d246fff Update bcachefs sources to 1a739db0b256 bcachefs; guard against overflow in btree node split
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-18 23:21:21 -05:00
Kent Overstreet
b6740e5392 Update bcachefs sources to 841a95c29f4c bcachefs: fix userspace build errors
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-15 22:20:39 -05:00
Kent Overstreet
8d8a9f3e9b Update bcachefs sources to 6d44812757dd bcachefs: BCH_IOCTL_FSCK_ONLINE
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-07 11:57:36 -05:00
Kent Overstreet
f27b135285 Update bcachefs sources to 71a5b27e017d bcachefs: Make backpointer fsck wb flush check more rigorous
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-30 02:20:51 -05:00
Kent Overstreet
3bd4653767 Update bcachefs sources to 676dd269f0f8 mean and variance: Promote to lib/math 2023-11-29 22:42:52 -05:00
Kent Overstreet
46d5160869 Update bcachefs sources to eb83f1f842bb mean and variance: Promote to lib/math 2023-11-29 22:00:41 -05:00
Kent Overstreet
89b361f24a Update bcachefs sources to c3e4d892b77b mean and variance: Promote to lib/math 2023-11-29 17:00:30 -05:00
Kent Overstreet
97c86db4f2 Update bcachefs sources to feaca6edbd24 mean and variance: Promote to lib/math
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-27 21:04:03 -05:00
Kent Overstreet
3a0cc86e76 Update bcachefs sources to 8c94740b1bf8 bcachefs: Add missing vaidation for jset_entry_data_usage 2023-11-25 21:51:30 -05:00
Kent Overstreet
06611a71a3 Update bcachefs sources to 783085c3cc44 kbuild: Allow gcov to be enabled on the command line
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-22 16:55:06 -05:00
Kent Overstreet
689b4dd4f0 Update bcachefs sources to 938f680845d1 fixup! rename and export __kern_path_locked() 2023-11-16 17:54:06 -05:00
Kent Overstreet
7fd6c3ffe4 Update bcachefs sources to 3ca08ab51ec9 bcachefs: six locks: Simplify optimistic spinning
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-12 20:57:28 -05:00
Kent Overstreet
13a9480722 Update bcachefs sources to d464ec667b2b bcachefs: Add missing printk newlines 2023-11-03 12:09:59 -04:00
Kent Overstreet
0a08ddf78c Update bcachefs sources to b9bd69421f73 bcachefs: x-macro-ify inode flags enum 2023-11-02 14:39:01 -04:00
Kent Overstreet
d320a4e927 Update bcachefs sources to 6628827a8707 bcachefs: Skip deleted members in member_to_text() 2023-10-27 19:38:36 -04:00
Kent Overstreet
8eaf8ddf45 Update bcachefs sources to 7250b2ee5574 bcachefs: Fix deleted inodes btree in snapshot deletion 2023-10-27 16:43:11 -04:00
Kent Overstreet
9799b119c3 Update bcachefs sources to 0d63ed13ea3d closures: Fix race in closure_sync()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-25 13:59:16 -04:00
Kent Overstreet
bd9e015334 Update bcachefs sources to f70a3402188e bcachefs: Fix ca->oldest_gen allocation
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-20 13:25:06 -04:00
Kent Overstreet
2252eecec7 Update bcachefs sources to 24bdb6fed91c bcachefs: bch2_btree_id_str()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-19 22:56:59 -04:00
Kent Overstreet
6a34032417 Update bcachefs sources to a180af9dd349 bcachefs: Refactor memcpy into direct assignment
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-18 22:14:53 -04:00
Kent Overstreet
1251ea58a8 Update bcachefs sources to 7bf1ac0d46 bcachefs: Correctly initialize new buckets on device resize
Signed-off-by: Hunter Shaffer <huntershaffer182456@gmail.com>
2023-10-08 21:06:07 -04:00
Kent Overstreet
5e215654da Update bcachefs sources to a1b6677dca57 bcachefs: Fix looping around bch2_propagate_key_to_snapshot_leaves() 2023-09-26 17:12:51 -04:00
Kent Overstreet
1e358401ec Update bcachefs sources to 1336a995cbc3 bcachefs: Silence transaction restart error message 2023-09-26 13:29:49 -04:00
Kent Overstreet
a053ebfb8c Update bcachefs sources to f9c612bbf82d bcachefs: Fixes for building in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-09-23 20:03:23 -04:00
Kent Overstreet
63c8f14756 Update bcachefs sources to e7f6215768 bcachefs: Fix snapshot_skiplist_good() 2023-08-28 15:20:58 -04:00
Kent Overstreet
54b6beabf0 Update bcachefs sources to bed61fae3b bcachefs: Delete a faulty assertion 2023-08-18 00:07:51 -04:00
Kent Overstreet
505c326cbe Update bcachefs sources to a8115093df bcachefs: Fix divide by zero in rebalance_work() 2023-08-17 17:11:27 -04:00
Kent Overstreet
f3976e3733 Update bcachefs sources to b0788c47d9 bcachefs: Fix check_version_upgrade() 2023-08-11 22:25:12 -04:00
Kent Overstreet
15b24c7327 Update bcachefs sources to 717b356d1d bcachefs: Convert journal validation to bkey_invalid_flags
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-08-06 13:08:36 -04:00
Kent Overstreet
bafc817a3f Update bcachefs sources to 5b8c4a1366 bcachefs: bcachefs_metadata_version_deleted_inodes 2023-08-03 13:26:22 -04:00
Kent Overstreet
87179c7a6e Update bcachefs sources to 33a60d9b05 bcachefs: Assorted fixes for clang 2023-08-01 22:13:03 -04:00
Kent Overstreet
ded0160563 Update bcachefs sources to 4b5917839c bcachefs: Fix a null ptr deref in check_xattr() 2023-07-20 19:37:48 -04:00
Kent Overstreet
44fc32e7ef Update bcachefs sources to ee560a3929 bcachefs: Print version, options earlier in startup path 2023-07-20 18:09:44 -04:00
Kent Overstreet
c8bec83e30 Update bcachefs sources to e14d7c7195 bcachefs: Compression levels
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-15 17:36:15 -04:00
Kent Overstreet
ee1d223ab2 Update bcachefs sources to 04f2d2ae5b bcachefs: Fix build error on weird gcc 2023-07-10 15:57:09 -04:00
Kent Overstreet
21ae8a4b71 Update bcachefs sources to 070ec8d07b bcachefs: Snapshot depth, skiplist fields
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-10 14:27:14 -04:00
Kent Overstreet
73bf371f4c Update bcachefs sources to fb39031ade bcachefs: bch2_sb_maybe_downgrade(), bch2_sb_upgrade()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-10 12:34:08 -04:00
Kent Overstreet
ffa950ce1d Update bcachefs sources to 1e3ca87f7b bcachefs: bcachefs_metadata_version_major_minor 2023-07-10 01:44:55 -04:00
Kent Overstreet
5d507f795b Update bcachefs sources to da7d42a9a2 bcachefs: Add new assertions for shutdown path
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-09 15:25:40 -04:00
Kent Overstreet
c99a444c5c Update bcachefs sources to 25de2b00dc bcachefs: Change check for invalid key types
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-07 04:25:07 -04:00
Kent Overstreet
cfa816bf3f Update bcachefs sources to 84f132d569 bcachefs: fsck: Break walk_inode() up into multiple functions
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-27 19:38:18 -04:00
Kent Overstreet
84cb7bffe5 Update bcachefs sources to bca25b802d fixup! bcachefs: Fix bch2_check_discard_freespace_key() 2023-06-18 16:20:01 -04:00
Kent Overstreet
4d185cfa51 Update bcachefs sources to 99175e5712 bcachefs: Fix bch2_check_discard_freespace_key() 2023-06-18 14:34:05 -04:00
Kent Overstreet
ba88873432 Update bcachefs sources to 01d7ad6d95 bcachefs: snapshot_to_text() includes snapshot tree 2023-06-13 15:06:46 -04:00
Kent Overstreet
17d1c4f4fe Update bcachefs sources to ed6b7f81a7 six locks: Disable percpu read lock mode in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-10 22:15:00 -04:00
Kent Overstreet
8642d4ae10 Update bcachefs sources to 7c0fe6f104 bcachefs: Fix bch2_fsck_ask_yn()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-04 18:10:29 -04:00
Kent Overstreet
1f78fed469 Update bcachefs sources to 31c09369cd six locks: Fix an unitialized var
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-05-25 22:25:34 -04:00
Kent Overstreet
b8b8dcfaed Update bcachefs sources to 799716df00 bcachefs: Delete an incorrect bch2_trans_unlock()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-05-19 09:50:24 -04:00
Kent Overstreet
5ef62f56ab Update bcachefs sources to 400f275d46 bcachefs: Fix check_overlapping_extents() 2023-05-13 00:13:57 -04:00
Kent Overstreet
6e89763956 Update bcachefs sources to 5074caad6a fixup! bcachefs: BTREE_ID_snapshot_tree 2023-05-08 04:20:52 -04:00
Kent Overstreet
c08971632c Update bcachefs sources to e990c131de fixup! bcachefs: BTREE_ID_snapshot_tree
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-05-08 03:43:26 -04:00
Kent Overstreet
6b1f79d5df Update bcachefs sources to 6a20aede29 bcachefs: Fix quotas + snapshots
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-05-02 00:41:47 -04:00
Kent Overstreet
693e278c14 Update bcachefs sources to fd6fb298aa bcachefs: Make sure hash info gets initialized in fsck
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-04-25 14:35:59 -04:00
Kent Overstreet
fbe4e11c26 Update bcachefs sources to 2115a2ffde bcachefs: Kill bch2_verify_bucket_evacuated() 2023-04-21 04:02:48 -04:00
Kent Overstreet
9690f78356 Update bcachefs sources to fd381c355c bcachefs: Fix a null ptr deref in fsck check_extents() 2023-04-16 21:50:37 -04:00
Kent Overstreet
42edda8db6 Update bcachefs sources to 22ccceee15 bcachefs: Fix a slab-out-of-bounds 2023-04-16 07:14:41 -04:00
Kent Overstreet
807b250927 Update bcachefs sources to 504729f99c bcachefs: Allow answering y or n to all fsck errors of given type
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-04-15 14:41:11 -04:00
Kent Overstreet
7f102ee83d Update bcachefs sources to 8fd009dd76 bcachefs: Rip out code for storing backpointers in alloc keys
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-03-31 18:02:57 -04:00
Kent Overstreet
ec28e6bfa2 Update bcachefs sources to 0342eebf85 bcachefs: Improve the backpointer to missing extent message 2023-03-15 08:59:01 -04:00
Kent Overstreet
fa35853772 Update bcachefs sources to 72405e7ff8 bcachefs: Fix bch2_check_extents_to_backpointers() 2023-03-14 12:56:38 -04:00
Kent Overstreet
0206d42daf Update bcachefs sources to 3856459b1b bcachefs: bch2_btree_iter_peek_node_and_restart()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-03-06 04:11:50 -05:00
Kent Overstreet
b0c9ad15f4 Update bcachefs sources to 171da96d76 bcachefs: Drop some anonymous structs, unions 2023-03-04 23:33:25 -05:00
Kent Overstreet
9fc4b5d675 rust: Fix ptr casting in Fs::open()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-03-04 19:14:50 -05:00
Kent Overstreet
1ee7dc7a55 Update bcachefs sources to 2272c5f5b7 bcachefs: Mark stripe buckets with correct data type 2023-03-03 00:39:26 -05:00
Kent Overstreet
5966e59eae Update bcachefs sources to a5da815430 bcachefs: Convert constants to consts 2023-02-27 22:14:56 -05:00
Kent Overstreet
30cca2e94d Update bcachefs sources to ca97ee3577 bcachefs: bch2_btree_iter_peek_and_restart_outlined()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-27 21:36:36 -05:00
Kent Overstreet
da6a356895 Update bcachefs sources to 8e1519ccb6 bcachefs: Add tracepoint & counter for btree split race
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-20 20:03:34 -05:00
Kent Overstreet
46a6b9210c Update bcachefs sources to 1b14994029 bcachefs: Fragmentation LRU 2023-02-17 17:51:22 -05:00
Kent Overstreet
1b2d608269 Update bcachefs sources to 8dbfede1d9 fixup! bcachefs: More info on check_bucket_ref() error 2023-02-13 15:51:27 -05:00
Kent Overstreet
e160e9b979 Update bcachefs sources to 3e0c5b0722 fixup! bcachefs: Btree write buffer 2023-02-12 21:41:03 -05:00
Kent Overstreet
284c1f5148 Update bcachefs sources to dab31ca168 bcachefs: Add some logging for btree node rewrites due to errors 2023-02-10 15:49:12 -05:00
Kent Overstreet
a104f0407b Update bcachefs sources to ea93c26e98 fixup! bcachefs: We can handle missing btree roots for all alloc btrees
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-09 18:36:24 -05:00
Kent Overstreet
e314b39c63 Update bcachefs sources to 0939e1c732 fixup! bcachefs: Rework lru btree 2022-12-19 22:24:41 -05:00
Kent Overstreet
177f05106c Update bcachefs sources to 2e8463c770 bcachefs: Rework lru btree 2022-12-19 18:31:44 -05:00
Kent Overstreet
b6fca67693 Update bcachefs sources to c801fa69f0 bcachefs: Fix bch_alloc_to_text() 2022-12-19 16:06:33 -05:00
Kent Overstreet
7111177169 Update bcachefs sources to 7958ebe324 bcachefs: Fix alloc_v4_backpointers() 2022-12-19 14:47:35 -05:00
Kent Overstreet
3c0484687d Update bcachefs sources to 84505cfd37 bcachefs: Go RW before check_alloc_info() 2022-12-13 18:27:31 -05:00
Kent Overstreet
a06dee6da2 Update bcachefs sources to ed2a5f4260 bcachefs: Add a missing bch2_btree_path_traverse() call 2022-12-09 16:40:07 -05:00
Kent Overstreet
787768043d Update bcachefs sources to de3b30303e bcachefs: bucket_gens btree 2022-12-02 21:55:01 -05:00
Kent Overstreet
3867739e56 Update bcachefs sources to be2d60d948 bcachefs: New magic number 2022-12-02 19:48:23 -05:00
Kent Overstreet
f82cd58008 Update bcachefs sources to f1c9030ccb bcachefs: Don't error out when just reading the journal 2022-12-01 11:20:40 -05:00
Kent Overstreet
0c98cd7bf6 Update bcachefs sources to eabde7cb37 fixup! bcachefs: Optimize bch2_alloc_to_v4() 2022-11-30 10:41:00 -05:00
Kent Overstreet
5a5a6c25a9 Update bcachefs sources to 8a65cc4951 bcachefs: Improve bch2_dev_freespace_init() 2022-11-29 01:15:08 -05:00
Kent Overstreet
934a84dfaf Update bcachefs sources to 5963d1b1a4 bcacehfs: Fix bch2_get_alloc_in_memory_pos() 2022-11-26 17:09:59 -05:00
Kent Overstreet
f1f88825c3 Update bcachefs sources to ea47add37d bcachefs: More errcode cleanup 2022-11-20 00:15:11 -05:00
Kent Overstreet
7e0fbb0144 Update bcachefs sources to ed88ebf18c bcachefs: Handle last journal write being torn 2022-11-19 21:45:00 -05:00
Kent Overstreet
505230a110 Update bcachefs sources to 586e7c5498 bcachefs: Improve journal_read() logging 2022-11-19 21:29:01 -05:00
Kent Overstreet
7e196f5399 Update bcachefs sources to 4366ca365f fixup! bcachefs: Btree split improvement 2022-11-18 18:23:28 -05:00
Kent Overstreet
c1f55a60c4 Update bcachefs sources to 6406e05835 bcachefs: Nocow support 2022-11-18 18:21:11 -05:00
Kent Overstreet
c1e4d447f6 Update bcachefs sources to 8d3fc97ca3 bcachefs: Fixes for building in userspace 2022-11-13 20:07:22 -05:00
Kent Overstreet
980f7437e2 Update bcachefs sources to 61ebcb532a bcachefs: Fix for allocating before backpointers have been checked 2022-10-24 11:34:07 -04:00
Kent Overstreet
ae43a58d97 Update bcachefs sources to 70fa0c1ff4 fixup! bcachefs: Btree key cache improvements 2022-10-23 18:24:08 -04:00
Kent Overstreet
188b6d0c8e Update bcachefs sources to cd779e0cc5 bcachefs: Skip inode unpack/pack in bch2_extent_update() 2022-10-22 14:41:54 -04:00
Kent Overstreet
494421ee6e Update bcachefs sources to 44be8c1da2 fixup! bcachefs: Btree key cache improvements
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-10-15 05:50:39 -04:00
Kent Overstreet
e0a51ccce8 Update bcachefs sources to 3e93567c51 bcachefs: Switch to local_clock() for fastpath time source 2022-10-15 01:04:30 -04:00