aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/alloc_foreground.c
AgeCommit message (Expand)AuthorFilesLines
11 daysbcachefs: Allocator prefers not to expand mi.btree_allocated bitmapKent Overstreet1-10/+58
11 daysbcachefs: Better bucket alloc tracepointsKent Overstreet1-20/+45
11 daysbcachefs: ob_dev()Kent Overstreet1-8/+7
11 daysbcachefs: Kill bch2_dev_bkey_exists() in backpointer codeKent Overstreet1-1/+1
11 daysbcachefs: Convert to bch2_dev_tryget_noerror()Kent Overstreet1-12/+3
11 daysbcachefs: New helpers for device refcountsKent Overstreet1-3/+3
11 daysbcachefs: bch2_print_allocator_stuck()Kent Overstreet1-0/+101
11 daysbcachefs: uninline set_btree_iter_dontneed()Kent Overstreet1-4/+4
11 daysbcachefs: plumb data_type into bch2_bucket_alloc_trans()Kent Overstreet1-4/+8
11 daysbcachefs: Move gc of bucket.oldest_gen to workqueueKent Overstreet1-1/+1
11 daysbcachefs: bch2_trans_unlock() must always be followed by relock() or begin()Kent Overstreet1-0/+4
11 daysbcachefs: member helper cleanupsKent Overstreet1-7/+7
11 daysbcachefs: iter/update/trigger/str_hash flag cleanupKent Overstreet1-4/+4
2024-04-01bcachefs: BCH_WATERMARK_interior_updatesKent Overstreet1-1/+3
2024-03-18bcachefs: Fix lost transaction restart errorKent Overstreet1-4/+6
2024-03-13bcachefs: pull out time_stats.[ch]Kent Overstreet1-9/+4
2024-01-21bcachefs: helpers for printing data typesKent Overstreet1-3/+4
2024-01-01bcachefs: btree_iter -> btree_path_idx_tKent Overstreet1-1/+1
2024-01-01bcachefs: for_each_member_device_rcu() now declares loop iterKent Overstreet1-4/+1
2024-01-01bcachefs: use track_event_change() for allocator blocked statsKent Overstreet1-17/+8
2024-01-01bcachefs: simplify bch_devs_listKent Overstreet1-2/+2
2024-01-01bcachefs: Fix open coded set_btree_iter_dontneed()Kent Overstreet1-3/+3
2024-01-01bcachefs: ONLY_SPECIFIED_DEVS doesn't mean ignore durability anymoreKent Overstreet1-3/+1
2023-12-19bcachefs: Fix bch2_alloc_sectors_start_trans() error handlingKent Overstreet1-3/+11
2023-11-24bcachefs: deallocate_extra_replicas()Kent Overstreet1-0/+27
2023-11-24bcachefs: Put erasure coding behind an EXPERIMENTAL kconfig optionKent Overstreet1-0/+3
2023-11-04bcachefs: update alloc cursor in early bucket allocatorBrian Foster1-4/+6
2023-11-04bcachefs: serialize on cached key in early bucket allocatorBrian Foster1-3/+25
2023-10-22bcachefs: Heap allocate btree_transKent Overstreet1-1/+1
2023-10-22bcachefs: Fix W=12 build errorsKent Overstreet1-5/+10
2023-10-22bcachefs: Break up io.cKent Overstreet1-1/+1
2023-10-22bcachefs: Add a comment for should_drop_open_bucket()Kent Overstreet1-1/+10
2023-10-22bcachefs: Improve bch2_write_points_to_text()Kent Overstreet1-12/+34
2023-10-22bcachefs: Assorted fixes for clangKent Overstreet1-1/+5
2023-10-22bcachefs: Fix try_decrease_writepoints()Kent Overstreet1-0/+1
2023-10-22bcachefs: Enumerate recovery passesKent Overstreet1-5/+4
2023-10-22bcachefs: BCH_WATERMARK_reclaimKent Overstreet1-2/+4
2023-10-22bcachefs: Rename enum alloc_reserve -> bch_watermarkKent Overstreet1-41/+41
2023-10-22bcachefs: Fix try_decrease_writepoints()Kent Overstreet1-17/+21
2023-10-22bcachefs: fix NULL pointer dereference in try_alloc_bucketMikulas Patocka1-1/+2
2023-10-22bcachefs: push rcu lock down into bch2_target_to_mask()Brian Foster1-2/+0
2023-10-22bcachefs: bch2_bkey_get_iter() helpersKent Overstreet1-2/+3
2023-10-22bcachefs: Rip out code for storing backpointers in alloc keysKent Overstreet1-3/+3
2023-10-22bcachefs: New erasure coding shutdown pathKent Overstreet1-23/+73
2023-10-22bcachefs: Second layer of refcounting for new stripesKent Overstreet1-2/+2
2023-10-22bcachefs: Rework open bucket partial list allocationKent Overstreet1-145/+214
2023-10-22bcachefs: Kill bch2_ec_bucket_written()Kent Overstreet1-2/+2
2023-10-22bcachefs: Plumb alloc_reserve through stripe create pathKent Overstreet1-4/+3
2023-10-22bcachefs: bch2_open_bucket_to_text()Kent Overstreet1-7/+40
2023-10-22bcachefs: Single open_bucket_partial listKent Overstreet1-12/+10
2023-10-22bcachefs: Fix erasure coding lockingKent Overstreet1-5/+5
2023-10-22bcachefs: Erasure coding now uses bch2_bucket_alloc_transKent Overstreet1-23/+6
2023-10-22bcachefs: Improved nocow lockingKent Overstreet1-0/+1
2023-10-22bcachefs: Nocow supportKent Overstreet1-0/+5
2023-10-22bcachefs: Don't use key cache during fsckKent Overstreet1-1/+2
2023-10-22bcachefs: New on disk format: BackpointersKent Overstreet1-0/+23
2023-10-22bcachefs: Go RW before check_alloc_info()Kent Overstreet1-10/+22
2023-10-22bcachefs: Better inlining in core write pathKent Overstreet1-35/+2
2023-10-22bcachefs: Better inlining for bch2_alloc_to_v4_mutKent Overstreet1-11/+13
2023-10-22bcachefs: Fix bch2_bucket_alloc_early()Kent Overstreet1-1/+4
2023-10-22bcachefs: Convert EAGAIN errors to private error codesKent Overstreet1-1/+1
2023-10-22bcachefs: Convert EROFS errors to private error codesKent Overstreet1-3/+0
2023-10-22bcachefs: New bpos_cmp(), bkey_cmp() replacementsKent Overstreet1-1/+1
2023-10-22bcachefs: Kill bch2_alloc_sectors_start()Kent Overstreet1-23/+0
2023-10-22bcachefs: Assorted checkpatch fixesKent Overstreet1-1/+1
2023-10-22bcachefs: Optimize bch2_dev_usage_read()Kent Overstreet1-14/+26
2023-10-22bcachefs: bucket_alloc_fail tracepoint should only fire when we have to blockKent Overstreet1-3/+3
2023-10-22bcachefs: Don't quash error in bch2_bucket_alloc_set_trans()Kent Overstreet1-9/+6
2023-10-22bcachefs: bucket_alloc_stateKent Overstreet1-61/+20
2023-10-22bcachefs: Improve bucket_alloc tracepointKent Overstreet1-0/+4
2023-10-22bcachefs: Add private error codes for ENOSPCKent Overstreet1-1/+3
2023-10-22bcachefs: Add persistent counters for all tracepointsKent Overstreet1-26/+26
2023-10-22bcachefs: bch2_bucket_alloc_trans_early -> for_each_btree_key_norestartKent Overstreet1-1/+1
2023-10-22bcachefs: EINTR -> BCH_ERR_transaction_restartKent Overstreet1-7/+10
2023-10-22bcachefs: Prevent a btree iter overflow in alloc pathKent Overstreet1-0/+1
2023-10-22bcachefs: Improved errcodesKent Overstreet1-19/+20
2023-10-22bcachefs: Improve bucket_alloc_fail tracepointKent Overstreet1-3/+12
2023-10-22bcachefs: Split out dev_buckets_free()Kent Overstreet1-1/+1
2023-10-22bcachefs: Printbuf reworkKent Overstreet1-11/+11
2023-10-22bcachefs: Improve bch2_open_buckets_to_text()Kent Overstreet1-3/+3
2023-10-22bcachefs: Fold bucket_state in to BCH_DATA_TYPES()Kent Overstreet1-16/+29
2023-10-22bcachefs: Kill allocator threads & freelistsKent Overstreet1-93/+468
2023-10-22bcachefs: Run btree updates after write out of write_pointKent Overstreet1-16/+51
2023-10-22bcachefs: x-macroize alloc_reserve enumKent Overstreet1-10/+17
2023-10-22bcachefs: Kill verify_not_stale()Kent Overstreet1-18/+0
2023-10-22bcachefs: New in-memory array for bucket gensKent Overstreet1-2/+2
2023-10-22bcachefs: Put open_buckets in a hashtableKent Overstreet1-2/+28
2023-10-22bcachefs: Refactor open_bucket codeKent Overstreet1-35/+65
2023-10-22bcachefs: bch2_alloc_sectors_append_ptrs() now takes cached flagKent Overstreet1-6/+8
2023-10-22bcachefs: Rewrite bch2_bucket_alloc_new_fs()Kent Overstreet1-14/+8
2023-10-22bcachefs: Make sure bch2_bucket_alloc_new_fs() obeys buckets_nouseKent Overstreet1-0/+1
2023-10-22bcachefs: Convert bucket_alloc_ret to negative error codesKent Overstreet1-19/+16
2023-10-22bcachefs: Allocator refactoringKent Overstreet1-45/+2
2023-10-22bcachefs: gc shouldn't care about owned_by_allocatorKent Overstreet1-2/+1
2023-10-22bcachefs: Fix an RCU splatKent Overstreet1-3/+6
2023-10-22bcachefs: Fix copygc thresholdKent Overstreet1-1/+4
2023-10-22bcachefs: Refactor dev usageKent Overstreet1-10/+9
2023-10-22bcachefs: Rework allocating buckets for stripesKent Overstreet1-7/+14
2023-10-22bcachefs: Reserve some open buckets for btree allocationsKent Overstreet1-1/+5
2023-10-22bcachefs: Use separate new stripes for copygc and non-copygcKent Overstreet1-1/+3
2023-10-22bcachefs: Change allocations for ec stripes to blockingKent Overstreet1-17/+25
2023-10-22bcachefs: Don't use BTREE_INSERT_USE_RESERVE so muchKent Overstreet1-13/+1
2023-10-22bcachefs: Don't write bucket IO time lazilyKent Overstreet1-2/+0
2023-10-22bcachefs: Ensure we only allocate one EC bucket per writepointKent Overstreet1-11/+15
2023-10-22bcachefs: Don't let copygc buckets be stolen by other threadsKent Overstreet1-16/+30
2023-10-22bcachefs: Delete unused argumentsKent Overstreet1-3/+3
2023-10-22bcachefs: Don't restrict copygc writes to the same deviceKent Overstreet1-45/+47
2023-10-22bcachefs: Make copygc thread globalKent Overstreet1-2/+3
2023-10-22bcachefs: Use x-macros for data typesKent Overstreet1-9/+9
2023-10-22bcachefs: Refactor stripe creationKent Overstreet1-88/+15
2023-10-22bcachefs: Move stripe creation to workqueueKent Overstreet1-1/+1
2023-10-22bcachefs: Make open bucket reserves more conservativeKent Overstreet1-2/+2
2023-10-22bcachefs: Drop unused arg to bch2_open_buckets_stop_dev()Kent Overstreet1-3/+2
2023-10-22bcachefs: Fix promoting to cache devices (durability = 0)Kent Overstreet1-30/+48
2023-10-22bcachefs: Add more time stats for being blocked on allocatorKent Overstreet1-0/+21
2023-10-22bcachefs: Add a mechanism for blocking the journalKent Overstreet1-1/+1
2023-10-22bcachefs: Fix some reserve calculationsKent Overstreet1-2/+4
2023-10-22bcachefs: Fix an allocator error pathKent Overstreet1-5/+7
2023-10-22bcachefs: correctly initialize bch_extent_ptrKent Overstreet1-0/+1
2023-10-22bcachefs: refactor bch_fs_usageKent Overstreet1-1/+1
2023-10-22bcachefs: s/usage_lock/mark_lockKent Overstreet1-7/+7
2023-10-22bcachefs: Make bkey types globally uniqueKent Overstreet1-6/+5
2023-10-22bcachefs: Erasure codingKent Overstreet1-72/+281
2023-10-22bcachefs: Scale down number of writepoints when low on spaceKent Overstreet1-5/+108
2023-10-22bcachefs: fix a spurious gcc warningKent Overstreet1-1/+1
2023-10-22bcachefs: Allocation code refactoringKent Overstreet1-233/+182
2023-10-22bcachefs: Split out alloc_background.cKent Overstreet1-0/+741