aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/buckets.h
AgeCommit message (Expand)AuthorFilesLines
11 daysbcachefs: ptr_stale() -> dev_ptr_stale()Kent Overstreet1-6/+8
11 daysbcachefs: PTR_BUCKET_POS() now takes bch_devKent Overstreet1-7/+3
11 daysbcachefs: bch2_bucket_ref_update() now takes bch_devKent Overstreet1-2/+2
11 daysbcachefs: bch2_check_alloc_key() -> bch2_dev_tryget_noerror()Kent Overstreet1-5/+0
11 daysbcachefs: Kill opts.buckets_nouseKent Overstreet1-0/+3
11 daysbcachefs: kill bch2_dev_usage_update_m()Kent Overstreet1-2/+0
11 daysbcachefs: Run bch2_check_fix_ptrs() via triggersKent Overstreet1-0/+4
11 daysbcachefs: bch2_bucket_ref_update()Kent Overstreet1-3/+3
11 daysbcachefs: member helper cleanupsKent Overstreet1-2/+2
11 daysbcachefs: bucket_valid()Kent Overstreet1-5/+9
11 daysbcachefs: iter/update/trigger/str_hash flag cleanupKent Overstreet1-7/+12
11 daysbcachefs: mark_superblock cleanupKent Overstreet1-7/+4
2024-04-13bcachefs: Standardize helpers for printing enum strs with bounds checksKent Overstreet1-8/+0
2024-04-01bcachefs: BCH_WATERMARK_interior_updatesKent Overstreet1-0/+1
2024-01-21bcachefs: bch2_trans_account_disk_usage_change()Kent Overstreet1-0/+2
2024-01-21bcachefs: helpers for printing data typesKent Overstreet1-0/+15
2024-01-05bcachefs: unify extent triggerKent Overstreet1-3/+2
2024-01-05bcachefs: move stripe triggers to ec.cKent Overstreet1-3/+9
2024-01-05bcachefs: move bch2_mark_alloc() to alloc_background.cKent Overstreet1-2/+4
2024-01-05bcachefs: unify reservation triggerKent Overstreet1-2/+1
2024-01-05bcachefs: kill mem_trigger_run_overwrite_then_insert()Kent Overstreet1-4/+1
2024-01-05bcachefs: mark now takes bkey_sKent Overstreet1-6/+6
2024-01-05bcachefs: trans_mark now takes bkey_sKent Overstreet1-4/+4
2024-01-01bcachefs: Move reflink_p triggers into reflink.cKent Overstreet1-4/+0
2024-01-01bcachefs: bch2_dev_usage_to_text()Kent Overstreet1-0/+1
2024-01-01bcachefs: Don't use update_cached_sectors() in bch2_mark_alloc()Kent Overstreet1-0/+3
2023-10-31bcachefs: All triggers are BTREE_TRIGGER_WANTS_OLD_AND_NEWKent Overstreet1-0/+14
2023-10-31bcachefs: Ensure devices are always correctly initializedKent Overstreet1-0/+1
2023-10-22bcachefs: bucket_lock() is now a sleepable lockKent Overstreet1-2/+5
2023-10-22bcachefs: Change bucket_lock() to use bit_spin_lock()Kent Overstreet1-3/+30
2023-10-22bcachefs: Remove undefined behavior in bch2_dev_buckets_reserved()Josh Poimboeuf1-1/+1
2023-10-22bcachefs: sb-members.cKent Overstreet1-1/+46
2023-10-22bcachefs: move inode triggers to inode.cKent Overstreet1-3/+14
2023-10-22bcachefs: BCH_WATERMARK_reclaimKent Overstreet1-0/+1
2023-10-22bcachefs: Rename enum alloc_reserve -> bch_watermarkKent Overstreet1-14/+14
2023-10-22bcachefs: Fix a buffer overrun in bch2_fs_usage_read()Kent Overstreet1-2/+16
2023-10-22bcachefs: RESERVE_stripeKent Overstreet1-0/+3
2023-10-22bcachefs: Improve dev_alloc_debug_to_text()Kent Overstreet1-0/+2
2023-10-22bcachefs: bch2_mark_key() now takes btree_id & levelKent Overstreet1-6/+12
2023-10-22bcachefs: New on disk format: BackpointersKent Overstreet1-0/+19
2023-10-22bcachefs: Btree write bufferKent Overstreet1-0/+1
2023-10-22bcachefs: Fixes for building in userspaceKent Overstreet1-0/+4
2023-10-22bcachefs: Move bkey bkey_unpack_key() to bkey.hKent Overstreet1-2/+0
2023-10-22bcachefs: Optimize bch2_dev_usage_read()Kent Overstreet1-1/+9
2023-10-22bcachefs: fix __dev_available().Daniel Hill1-6/+6
2023-10-22bcachefs: Split out dev_buckets_free()Kent Overstreet1-0/+13
2023-10-22bcachefs: Plumb btree_id & level to trans_markKent Overstreet1-32/+5
2023-10-22bcachefs: Fold bucket_state in to BCH_DATA_TYPES()Kent Overstreet1-13/+10
2023-10-22bcachefs: Convert .key_invalid methods to printbufsKent Overstreet1-2/+2
2023-10-22bcachefs: gc mark fn fixes, cleanupsKent Overstreet1-3/+3
2023-10-22bcachefs: Kill struct bucket_markKent Overstreet1-14/+10
2023-10-22bcachefs: Kill main in-memory bucket arrayKent Overstreet1-16/+4
2023-10-22bcachefs: bch2_dev_usage_update() no longer depends on bucket_markKent Overstreet1-7/+0
2023-10-22bcachefs: Kill allocator threads & freelistsKent Overstreet1-34/+28
2023-10-22bcachefs: Freespace, need_discard btreesKent Overstreet1-10/+0
2023-10-22bcachefs: KEY_TYPE_alloc_v4Kent Overstreet1-0/+8
2023-10-22bcachefs: Move trigger fns to bkey_opsKent Overstreet1-0/+13
2023-10-22bcachefs: Consolidate trigger code a bitKent Overstreet1-3/+0
2023-10-22bcachefs: bch2_trans_mark_key() now takes a bkey_i *Kent Overstreet1-1/+26
2023-10-22bcachefs: bch2_gc_gens() no longer uses bucket arrayKent Overstreet1-6/+0
2023-10-22bcachefs: Ignore cached data when calculating fragmentationKent Overstreet1-5/+0
2023-10-22bcachefs: New data structure for buckets waiting on journal commitKent Overstreet1-8/+0
2023-10-22bcachefs: New in-memory array for bucket gensKent Overstreet1-1/+19
2023-10-22bcachefs: Separate out gc_bucket()Kent Overstreet1-4/+14
2023-10-22bcachefs: Kill ptr_bucket_mark()Kent Overstreet1-13/+7
2023-10-22bcachefs: Push c->mark_lock usage down to where it is neededKent Overstreet1-1/+1
2023-10-22bcachefs: Kill bch2_replicas_delta_list_marked()Kent Overstreet1-1/+1
2023-10-22bcachefs: Run insert triggers before overwrite triggersKent Overstreet1-2/+0
2023-10-22bcachefs: Convert bch2_mark_key() to take a btree_trans *Kent Overstreet1-1/+1
2023-10-22bcachefs: btree_pathKent Overstreet1-3/+3
2023-10-22bcachefs: Extensive triggers cleanupsKent Overstreet1-19/+4
2023-10-22bcachefs: Inline fastpath of bch2_disk_reservation_add()Kent Overstreet1-5/+25
2023-10-22bcachefs: statfs resports incorrect avail blocksDan Robertson1-0/+7
2023-10-22bcachefs: gc shouldn't care about owned_by_allocatorKent Overstreet1-2/+1
2023-10-22bcachefs: Fix bch2_trans_mark_dev_sb()Kent Overstreet1-5/+3
2023-10-22bcachefs: Kill bch2_fs_usage_scratch_get()Kent Overstreet1-9/+1
2023-10-22bcachefs: Fix livelock calling bch2_mark_bkey_replicas()Kent Overstreet1-0/+2
2023-10-22buckets.c fixups XXX squashKent Overstreet1-2/+0
2023-10-22bcachefs: Fix copygc thresholdKent Overstreet1-10/+16
2023-10-22bcachefs: Journal updates to dev usageKent Overstreet1-2/+5
2023-10-22bcachefs: Persist 64 bit io clocksKent Overstreet1-8/+1
2023-10-22bcachefs: Mark superblocks transactionallyKent Overstreet1-0/+6
2023-10-22bcachefs: Kill bch2_invalidate_bucket()Kent Overstreet1-2/+0
2023-10-22bcachefs: Refactor dev usageKent Overstreet1-10/+1
2023-10-22bcachefs: Fix integer overflow in bch2_disk_reservation_get()Kent Overstreet1-4/+3
2023-10-22bcachefs: Don't write bucket IO time lazilyKent Overstreet1-6/+0
2023-10-22bcachefs: Update transactional triggers interface to pass old & new keysKent Overstreet1-1/+1
2023-10-22bcachefs: Delete unused argumentsKent Overstreet1-5/+5
2023-10-22bcachefs: Use x-macros for data typesKent Overstreet1-2/+2
2023-10-22bcachefs: Rework triggers interfaceKent Overstreet1-2/+2
2023-10-22bcachefs: Kill BTREE_TRIGGER_NOOVERWRITESKent Overstreet1-3/+0
2023-10-22bcachefs: Interior btree updates are now fully transactionalKent Overstreet1-2/+0
2023-10-22bcachefs: Move extent overwrite handling out of core btree codeKent Overstreet1-1/+1
2023-10-22bcachefs: btree_ptr_v2Kent Overstreet1-1/+2
2023-10-22bcachefs: Split out btree_trigger_flagsKent Overstreet1-11/+2
2023-10-22bcachefs: Make btree_insert_entry more private to update pathKent Overstreet1-2/+2
2023-10-22bcachefs: Inline more of bch2_trans_commit hot pathKent Overstreet1-3/+3
2023-10-22bcachefs: Fix erasure coding disk space accountingKent Overstreet1-3/+3
2023-10-22bcachefs: Improve pointer marking checks and error messagesKent Overstreet1-0/+9
2023-10-22bcachefs: Rework calling convention for marking overwritesKent Overstreet1-7/+9
2023-10-22bcachefs: Update path now handles triggers that generate more triggersKent Overstreet1-1/+2
2023-10-22bcachefs: Improve key marking interfaceKent Overstreet1-11/+12
2023-10-22bcachefs: Don't use a fixed size buffer for fs_usage_deltasKent Overstreet1-4/+2
2023-10-22bcachefs: Fix spurious inconsistency in recoveryKent Overstreet1-0/+1
2023-10-22bcachefs: bch2_trans_mark_update()Kent Overstreet1-1/+10
2023-10-22bcachefs: Write out fs usage consistentlyKent Overstreet1-11/+16
2023-10-22bcachefs: Return errors from for_each_btree_key()Kent Overstreet1-5/+5
2023-10-22bcachefs: Mark overwrites from journal replay in initial gcKent Overstreet1-0/+3
2023-10-22bcachefs: add ability to run gc on metadata onlyKent Overstreet1-1/+1
2023-10-22bcachefs: Caller now responsible for calling mark_key for gcKent Overstreet1-5/+5
2023-10-22bcachefs: Allocate fs_usage in do_btree_insert_at()Kent Overstreet1-8/+6
2023-10-22bcachefs: kill struct btree_insertKent Overstreet1-1/+1
2023-10-22bcachefs: Fix gc handling of bucket gensKent Overstreet1-1/+1
2023-10-22bcachefs: fs_usage_u64s()Kent Overstreet1-4/+8
2023-10-22bcachefs: Add a mechanism for blocking the journalKent Overstreet1-8/+1
2023-10-22bcachefs: Convert bucket invalidation to key marking pathKent Overstreet1-1/+2
2023-10-22bcachefs: refactor key marking code a bitKent Overstreet1-2/+2
2023-10-22bcachefs: Fix double counting when gc is runningKent Overstreet1-1/+1
2023-10-22bcachefs: gc lock no longer needed for disk reservationsKent Overstreet1-15/+2
2023-10-22bcachefs: Fix oldest_gen handlingKent Overstreet1-1/+3
2023-10-22bcachefs: initialize fs usage summary in recoveryKent Overstreet1-0/+1
2023-10-22bcachefs: Persist alloc info on clean shutdownKent Overstreet1-0/+2
2023-10-22bcachefs: Fix check for if extent update is allocatingKent Overstreet1-3/+14
2023-10-22bcachefs: Factor out acc_u64s()Kent Overstreet1-2/+0
2023-10-22bcachefs: refactor bch_fs_usageKent Overstreet1-17/+25
2023-10-22bcachefs: improve/clarify ptr_disk_sectors()Kent Overstreet1-0/+14
2023-10-22bcachefs: s/usage_lock/mark_lockKent Overstreet1-1/+1
2023-10-22bcachefs: move dirty into bucket_markKent Overstreet1-2/+13
2023-10-22bcachefs: Make bkey types globally uniqueKent Overstreet1-2/+2
2023-10-22bcachefs: Hold usage_lock over mark_key and fs_usage_applyKent Overstreet1-0/+3
2023-10-22bcachefs: Stripes now properly subject to gcKent Overstreet1-3/+3
2023-10-22bcachefs: gc now operates on second set of bucket marksKent Overstreet1-11/+18
2023-10-22bcachefs: Erasure codingKent Overstreet1-0/+1
2023-10-22bcachefs: Move key marking out of extents.cKent Overstreet1-0/+1
2023-10-22bcachefs: Scale down number of writepoints when low on spaceKent Overstreet1-0/+6
2023-10-22bcachefs: more key marking refactoringKent Overstreet1-2/+3
2023-10-22bcachefs: Account for internal fragmentation betterKent Overstreet1-2/+0
2023-10-22bcachefs: kill s_alloc, use bch_data_typeKent Overstreet1-12/+0
2023-10-22bcachefs: bch2_mark_key() now takes bch_data_typeKent Overstreet1-2/+2
2023-10-22bcachefs: Invalidate buckets when writing to alloc btreeKent Overstreet1-1/+1
2023-10-22bcachefs: kill bucket mark sector count saturationKent Overstreet1-5/+0
2023-10-22bcachefs: Initial commitKent Overstreet1-0/+276