aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/backpointers.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-29Remove bcachefs core codeLinus Torvalds1-1391/+0
2025-06-22bcachefs: fix spurious error_throwKent Overstreet1-1/+1
2025-06-02bcachefs: bch_err_throw()Kent Overstreet1-8/+9
2025-06-01bcachefs: Replace rcu_read_lock() with guardsKent Overstreet1-28/+27
2025-05-21bcachefs: fix duplicate printkKent Overstreet1-2/+0
2025-05-21bcachefs: bch2_check_bucket_backpointer_mismatch()Kent Overstreet1-5/+70
2025-05-21bcachefs: Improve bucket_bitmap codeKent Overstreet1-51/+72
2025-05-21bcachefs: Reduce usage of recovery.curr_passKent Overstreet1-3/+4
2025-05-21bcachefs: struct bch_fs_recoveryKent Overstreet1-2/+2
2025-05-21bcachefs: Debug params are now static_keysKent Overstreet1-2/+2
2025-05-21bcachefs: "buckets with backpointer mismatches" now allocated on demandKent Overstreet1-50/+73
2025-05-21bcachefs: bch_dev.io_ref -> enumerated_refKent Overstreet1-2/+4
2025-05-14bcachefs: Fix missing commit in backpointer to missing targetKent Overstreet1-38/+79
2025-04-03bcachefs: backpointer_get_key: check for null from peek_slot()Kent Overstreet1-0/+12
2025-04-02bcachefs: Kill btree_iter.transKent Overstreet1-5/+5
2025-04-02bcachefs: Split up bch_dev.io_refKent Overstreet1-1/+1
2025-03-29bcachefs: Better printing of inconsistency errorsKent Overstreet1-8/+7
2025-03-28bcachefs: Consistent indentation of multiline fsck errorsKent Overstreet1-13/+12
2025-03-28bcachefs: Recovery no longer holds state_lockKent Overstreet1-1/+2
2025-03-24bcachefs: Handle backpointers with unknown data typesKent Overstreet1-3/+7
2025-03-24bcachefs: Count BCH_DATA_parity backpointers correctlyKent Overstreet1-0/+3
2025-03-14bcachefs: bcachefs_metadata_version_cached_backpointersKent Overstreet1-7/+7
2025-03-14bcachefs: Factor out progress.[ch]Kent Overstreet1-69/+5
2025-03-14bcachefs: backpointer_get_key() doesn't pull in btree nodeKent Overstreet1-15/+19
2025-03-14bcachefs: check_bp_exists() check for backpointers for stale pointersKent Overstreet1-0/+16
2025-01-09bcachefs: better check_bp_exists() error messageKent Overstreet1-4/+4
2024-12-29bcachefs: better backpointer_target_not_found() error messageKent Overstreet1-1/+12
2024-12-29bcachefs: bch2_backpointer_get_key() now repairs dangling backpointersKent Overstreet1-42/+28
2024-12-29bcachefs: check_extents_to_backpointers() now only checks buckets with mismat...Kent Overstreet1-18/+321
2024-12-29bcachefs: Add write buffer flush param to backpointer_get_key()Kent Overstreet1-5/+7
2024-12-29bcachefs: bch2_extent_ptr_to_bp() no longer depends on deviceKent Overstreet1-22/+4
2024-12-29bcachefs: bcachefs_metadata_version_backpointer_bucket_genKent Overstreet1-22/+5
2024-12-21bcachefs: trace_write_buffer_maybe_flushKent Overstreet1-1/+1
2024-12-21bcachefs: Guard against backpointers to unknown btreesKent Overstreet1-2/+5
2024-12-21bcachefs: struct bkey_validate_contextKent Overstreet1-1/+1
2024-12-21bcachefs: New backpointers helpersKent Overstreet1-13/+45
2024-12-21bcachefs: kill bch_backpointer.bucket_offset usageKent Overstreet1-8/+7
2024-12-21bcachefs: Fix check_backpointers_to_extents range limitingKent Overstreet1-38/+25
2024-12-21bcachefs: bch_backpointer -> bkey_i_backpointerKent Overstreet1-130/+85
2024-12-21bcachefs: check for backpointers to invalid deviceKent Overstreet1-0/+4
2024-12-21bcachefs: Kill bch2_get_next_backpointer()Kent Overstreet1-89/+36
2024-12-21bcachefs: Avoid bch2_btree_id_str()Kent Overstreet1-10/+14
2024-11-11bcachefs: Allow for unknown key types in backpointers fsckKent Overstreet1-4/+6
2024-11-08bcachefs: Fix missing validation for bch_backpointer.levelKent Overstreet1-1/+6
2024-09-27bcachefs: rename version -> bversionKent Overstreet1-1/+1
2024-09-21bcachefs: Remove duplicated include in backpointers.cYang Li1-1/+0
2024-09-21bcachefs: Rework btree node pinningKent Overstreet1-6/+7
2024-09-21bcachefs: bch2_dev_rcu_noerror()Kent Overstreet1-3/+3
2024-09-21bcachefs: Progress indicator for extents_to_backpointersKent Overstreet1-6/+82
2024-08-13bcachefs: Make bkey_fsck_err() a wrapper around fsck_err()Kent Overstreet1-5/+3
2024-08-13bcachefs: Convert for_each_btree_node() to lockrestart_do()Kent Overstreet1-10/+5
2024-07-14bcachefs: fsck_err() may now take a btree_transKent Overstreet1-6/+6
2024-07-14bcachefs: btree ids are 64 bit bitmasksKent Overstreet1-5/+5
2024-07-10bcachefs: Add missing bch2_trans_begin()Kent Overstreet1-0/+2
2024-06-29bcachefs: bch2_btree_write_buffer_maybe_flush()Kent Overstreet1-44/+24
2024-05-28bcachefs: Fix uninitialized var warningKent Overstreet1-1/+1
2024-05-09bcachefs: s/bkey_invalid_flags/bch_validate_flagsKent Overstreet1-1/+1
2024-05-09bcachefs: bch2_dev_get_ioref() checks for device not presentKent Overstreet1-1/+1
2024-05-09bcachefs: bch2_dev_get_ioref2(); backpointers.cKent Overstreet1-2/+2
2024-05-08bcachefs: Kill bch2_dev_bkey_exists() in backpointer codeKent Overstreet1-36/+70
2024-05-08bcachefs: PTR_BUCKET_POS() now takes bch_devKent Overstreet1-2/+5
2024-05-08bcachefs: member helper cleanupsKent Overstreet1-5/+5
2024-05-08bcachefs: iter/update/trigger/str_hash flag cleanupKent Overstreet1-7/+7
2024-05-08bcachefs: for_each_btree_key_continue()Kent Overstreet1-23/+5
2024-05-08bcachefs: prt_printf() now respects \r\n\tKent Overstreet1-2/+1
2024-05-06bcachefs: bucket_pos_to_bp_noerror()Kent Overstreet1-1/+1
2024-04-17bcachefs: Fix bio alloc in check_extent_checksum()Kent Overstreet1-1/+1
2024-04-14bcachefs: Check for backpointer bucket_offset >= bucket sizeKent Overstreet1-3/+5
2024-04-03bcachefs: Check for extents that point to same spaceKent Overstreet1-7/+166
2024-03-31bcachefs: fix backpointer for missing alloc key msgKent Overstreet1-1/+1
2024-03-31bcachefs: Kill bch2_bkey_ptr_data_type()Kent Overstreet1-4/+2
2024-03-31bcachefs: Fix assert in bch2_backpointer_invalid()Kent Overstreet1-0/+5
2024-03-13bcachefs: reconstruct_alloc cleanupKent Overstreet1-2/+1
2024-03-13bcachefs: Pin btree cache in ram for random access in fsckKent Overstreet1-90/+47
2024-03-13bcachefs: Kill more -EIO error codesKent Overstreet1-2/+1
2024-02-24bcachefs: fix backpointer_to_text() when dev does not existKent Overstreet1-3/+5
2024-01-21bcachefs: Prep work for variable size btree node buffersKent Overstreet1-1/+1
2024-01-21bcachefs: extents_to_bp_stateKent Overstreet1-48/+41
2024-01-21bcachefs: bkey_and_val_eq()Kent Overstreet1-3/+8
2024-01-05bcachefs: fsck_err()s don't need to manually check c->sb.version anymoreKent Overstreet1-2/+1
2024-01-01bcachefs: for_each_btree_key() now declares loop iterKent Overstreet1-5/+0
2024-01-01bcachefs: bch_err_(fn|msg) check if should printKent Overstreet1-8/+4
2024-01-01bcachefs: Make backpointer fsck wb flush check more rigorousKent Overstreet1-13/+19
2024-01-01bcachefs: On missing backpointer to interior node, flush interior updatesKent Overstreet1-0/+5
2024-01-01bcachefs: Explicity go RW for fsckKent Overstreet1-4/+2
2024-01-01bcachefs: No need to allocate keys for write bufferKent Overstreet1-1/+16
2024-01-01bcachefs: backpointers fsck no longer uses BTREE_ITER_ALL_LEVELSKent Overstreet1-64/+63
2024-01-01bcachefs: Rename BTREE_INSERT flagsKent Overstreet1-6/+6
2023-11-13bcachefs: Fix null ptr deref in bch2_backpointer_get_node()Kent Overstreet1-5/+5
2023-11-05bcachefs: Simplify, fix bch2_backpointer_get_key()Kent Overstreet1-44/+33
2023-11-05bcachefs: kill thing_it_points_to arg to backpointer_not_found()Kent Overstreet1-7/+6
2023-11-04bcachefs: use swab40 for bch_backpointer.bucket_offset bitfieldBrian Foster1-1/+1
2023-11-01bcachefs: Enumerate fsck errorsKent Overstreet1-8/+12
2023-10-31bcachefs: bch2_btree_id_str()Kent Overstreet1-2/+2
2023-10-22bcachefs: Fix a null ptr deref in bch2_get_alloc_in_memory_pos()Kent Overstreet1-1/+1
2023-10-22bcachefs: Heap allocate btree_transKent Overstreet1-12/+10
2023-10-22bcachefs: Fix W=12 build errorsKent Overstreet1-4/+1
2023-10-22bcachefs: Fix a handful of spelling mistakes in various messagesColin Ian King1-1/+1
2023-10-22bcachefs: remove duplicate code between backpointer update pathsBrian Foster1-17/+1
2023-10-22bcachefs: Upgrade path fixesKent Overstreet1-1/+1
2023-10-22bcachefs: Enumerate recovery passesKent Overstreet1-3/+3
2023-10-22bcachefs: Change check for invalid key typesKent Overstreet1-1/+2
2023-10-22bcachefs: Assorted sparse fixesKent Overstreet1-6/+6
2023-10-22bcachefs: Allow for unknown btree IDsKent Overstreet1-6/+8
2023-10-22bcachefs: Fix leak in backpointers fsckKent Overstreet1-2/+4
2023-10-22bcachefs: New error message helpersKent Overstreet1-1/+9
2023-10-22bcachefs: Improve backpointers error messageKent Overstreet1-1/+1
2023-10-22bcachefs: bch2_bkey_get_iter() helpersKent Overstreet1-17/+12
2023-10-22bcachefs: bkey_ops.min_val_sizeKent Overstreet1-5/+0
2023-10-22bcachefs: Rip out code for storing backpointers in alloc keysKent Overstreet1-262/+67
2023-10-22bcachefs: Use BTREE_ITER_INTENT in ec_stripe_update_extent()Kent Overstreet1-3/+4
2023-10-22bcachefs: Improve the backpointer to missing extent messageKent Overstreet1-15/+24
2023-10-22bcachefs: Fix bch2_check_extents_to_backpointers()Kent Overstreet1-11/+19
2023-10-22bcachefs: Flush write buffer as needed in backpointers repairKent Overstreet1-6/+25
2023-10-22bcachefs: Fix a 64 bit divideKent Overstreet1-1/+1
2023-10-22bcachefs: Change bkey_invalid() rw param to flagsKent Overstreet1-1/+1
2023-10-22fixup bcachefs: New on disk format: BackpointersKent Overstreet1-8/+27
2023-10-22bcachefs: Don't use key cache during fsckKent Overstreet1-2/+3
2023-10-22bcachefs: Run check_extents_to_backpointers() in multiple passesKent Overstreet1-18/+124
2023-10-22bcachefs: Run bch2_check_backpointers_to_extents() in multiple passes if nece...Kent Overstreet1-13/+132
2023-10-22bcachefs: New on disk format: BackpointersKent Overstreet1-0/+799