aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/journal_reclaim.c
AgeCommit message (Expand)AuthorFilesLines
12 daysbcachefs: x-macroize journal flags enumsKent Overstreet1-5/+5
12 daysbcachefs: New assertion for writing to the journal after shutdownKent Overstreet1-1/+1
2024-04-06bcachefs: JOURNAL_SPACE_LOWKent Overstreet1-0/+2
2024-03-13bcachefs: pull out time_stats.[ch]Kent Overstreet1-6/+3
2024-03-10bcachefs: Kill unnecessary wakeups in journal reclaimKent Overstreet1-11/+9
2024-02-24bcachefs: Fix bch2_journal_flush_device_pins()Kent Overstreet1-3/+5
2024-02-13bcachefs: Clamp replicas_required to replicasKent Overstreet1-1/+1
2024-01-01bcachefs: for_each_member_device_rcu() now declares loop iterKent Overstreet1-9/+5
2024-01-01bcachefs: for_each_member_device() now declares loop iterKent Overstreet1-6/+2
2024-01-01bcachefs: bch_err_(fn|msg) check if should printKent Overstreet1-3/+2
2024-01-01bcachefs: btree write buffer now slurps keys from journalKent Overstreet1-4/+8
2024-01-01bcachefs: Unwritten journal buffers are always dirtyKent Overstreet1-0/+1
2024-01-01bcachefs: track_event_change()Kent Overstreet1-11/+16
2024-01-01bcachefs: Journal pins must always have a flush_fnKent Overstreet1-5/+7
2024-01-01bcachefs: Add an assertion in bch2_journal_pin_set()Kent Overstreet1-12/+47
2023-12-10bcachefs: Close journal entry if necessary when flushing all pinsKent Overstreet1-0/+3
2023-11-14bcachefs: Kill journal pre-reservationsKent Overstreet1-27/+15
2023-10-22bcachefs: refactor pin put helpersBrian Foster1-7/+4
2023-10-22bcachefs: Fix W=12 build errorsKent Overstreet1-3/+8
2023-10-22bcachefs: Convert more code to bch_err_msg()Kent Overstreet1-1/+1
2023-10-22bcachefs: sb-members.cKent Overstreet1-1/+2
2023-10-22bcachefs: Fix assorted checkpatch nitsKent Overstreet1-1/+1
2023-10-22bcachefs: Fix error path in bch2_journal_flush_device_pins()Kent Overstreet1-5/+3
2023-10-22bcachefs: Assorted sparse fixesKent Overstreet1-1/+1
2023-10-22bcachefs: mark active journal devices on journal replicas gcBrian Foster1-1/+13
2023-10-22bcachefs: GFP_NOIO -> GFP_NOFSKent Overstreet1-1/+1
2023-10-22bcachefs: drop unnecessary journal stuck check from space calculationBrian Foster1-18/+1
2023-10-22bcachefs: When shutting down, flush btree node writes lastKent Overstreet1-30/+53
2023-10-22bcachefs: Ensure btree node cache is not more than half dirtyKent Overstreet1-0/+3
2023-10-22bcachefs: Fix bch2_journal_flush_device_pins()Kent Overstreet1-1/+3
2023-10-22bcachefs: Assorted checkpatch fixesKent Overstreet1-1/+1
2023-10-22bcachefs: Add persistent counters for all tracepointsKent Overstreet1-2/+3
2023-10-22bcachefs: Use bch2_err_str() in error messagesKent Overstreet1-3/+6
2023-10-22bcachefs: Tracepoint improvementsKent Overstreet1-7/+9
2023-10-22bcachefs: Introduce a separate journal watermark for copygcKent Overstreet1-4/+4
2023-10-22bcachefs: Fix bch2_journal_pin_set()Kent Overstreet1-7/+11
2023-10-22bcachefs: Work around a journal self-deadlockKent Overstreet1-0/+7
2023-10-22bcachefs: Skip periodic wakeup of journal reclaim when journal emptyKent Overstreet1-3/+11
2023-10-22bcachefs: Refactor journal code to not use unwritten_idxKent Overstreet1-17/+11
2023-10-22bcachefs: Journal seq now incremented at entry open, not closeKent Overstreet1-7/+1
2023-10-22bcachefs: Don't spin in journal reclaimKent Overstreet1-1/+1
2023-10-22bcachefs: Fix journal_flush_done()Kent Overstreet1-1/+2
2023-10-22bcachefs: Heap allocate printbufsKent Overstreet1-7/+4
2023-10-22bcachefs: Revert "Ensure journal doesn't get stuck in nochanges mode"Kent Overstreet1-4/+2
2023-10-22bcachefs: Don't issue discards when in nochanges modeKent Overstreet1-1/+2
2023-10-22bcachefs: Simplify journal replayKent Overstreet1-5/+0
2023-10-22bcachefs: Convert journal sysfs params to regular optionsKent Overstreet1-2/+3
2023-10-22bcachefs: Ensure journal doesn't get stuck in nochanges modeKent Overstreet1-2/+4
2023-10-22bcachefs: Fix compiler warningsBrett Holman1-1/+1
2023-10-22bcachefs: Journal space calculation fixKent Overstreet1-0/+4
2023-10-22bcachefs: Make sure to initialize j->last_flushedKent Overstreet1-6/+12
2023-10-22bcachefs: Fix a deadlock on journal reclaimKent Overstreet1-1/+1
2023-10-22bcachefs: Fix journal reclaim loopKent Overstreet1-4/+5
2023-10-22bcachefs: Don't flush btree writes more aggressively because of btree key cacheKent Overstreet1-24/+44
2023-10-22bcachefs: Be more careful about JOURNAL_RES_GET_RESERVEDKent Overstreet1-23/+38
2023-10-22bcachefs: Don't make foreground writes wait behind journal reclaim too longKent Overstreet1-0/+6
2023-10-22bcachefs: Have journal reclaim thread flush more aggressivelyKent Overstreet1-1/+1
2023-10-22bcachefs: btree key cache locking improvementsKent Overstreet1-2/+2
2023-10-22bcachefs: Add error message for some allocation failuresKent Overstreet1-1/+3
2023-10-22bcachefs: Fix race between journal_seq_copy() and journal_seq_drop()Kent Overstreet1-2/+12
2023-10-22bcachefs: Prevent journal reclaim from spinningKent Overstreet1-1/+1
2023-10-22bcachefs: Fix btree key cache dirty checksKent Overstreet1-0/+1
2023-10-22bcachefs: Be more conservation about journal pre-reservationsKent Overstreet1-8/+27
2023-10-22bcachefs: Don't require flush/fua on every journal writeKent Overstreet1-1/+9
2023-10-22bcachefs: Improve journal free space calculationsKent Overstreet1-64/+72
2023-10-22bcachefs: Increase journal pipeliningKent Overstreet1-11/+35
2023-10-22bcachefs: Check for errors in bch2_journal_reclaim()Kent Overstreet1-5/+14
2023-10-22bcachefs: Journal pin refactoringKent Overstreet1-57/+7
2023-10-22bcachefs: Fix journal reclaim spinning in recoveryKent Overstreet1-0/+5
2023-10-22bcachefs: Move journal reclaim to a kthreadKent Overstreet1-12/+74
2023-10-22bcachefs: Journal reclaim requires memalloc_noreclaim_save()Kent Overstreet1-0/+12
2023-10-22bcachefs: Ensure journal reclaim runs when btree key cache is too dirtyKent Overstreet1-16/+37
2023-10-22bcachefs: Be more precise with journal error reportingKent Overstreet1-3/+3
2023-10-22bcachefs: Fix btree key cache shutdownKent Overstreet1-0/+1
2023-10-22bcachefs: Add accounting for dirty btree nodes/keysKent Overstreet1-0/+6
2023-10-22bcachefs: Minor journal reclaim improvementKent Overstreet1-36/+46
2023-10-22bcachefs: Use x-macros for data typesKent Overstreet1-4/+4
2023-10-22bcachefs: Use cached iterators for alloc btreeKent Overstreet1-0/+3
2023-10-22bcachefs: Btree key cacheKent Overstreet1-0/+31
2023-10-22bcachefs: Kill old allocator startup codeKent Overstreet1-8/+0
2023-10-22bcachefs: Fixes for going ROKent Overstreet1-6/+17
2023-10-22bcachefs: Interior btree updates are now fully transactionalKent Overstreet1-1/+1
2023-10-22bcachefs: Fix a locking bug in bch2_journal_pin_copy()Kent Overstreet1-4/+13
2023-10-22bcachefs: Journal pin cleanupsKent Overstreet1-57/+29
2023-10-22bcachefs: minor journal reclaim fixesKent Overstreet1-4/+6
2023-10-22bcachefs: Add a pre-reserve mechanism for the journalKent Overstreet1-5/+38
2023-10-22bcachefs: Don't block on reclaim_lock from journal_res_getKent Overstreet1-8/+15
2023-10-22bcachefs: bch2_journal_space_available improvementsKent Overstreet1-53/+92
2023-10-22bcachefs: Separate discards from rest of journal reclaimKent Overstreet1-1/+7
2023-10-22bcachefs: ja->discard_idx, ja->dirty_idxKent Overstreet1-24/+39
2023-10-22bcachefs: Drop a faulty assertionKent Overstreet1-2/+0
2023-10-22bcachefs: Journal reclaim refactoringKent Overstreet1-151/+245
2023-10-22bcachefs: Fix check for if extent update is allocatingKent Overstreet1-3/+5
2023-10-22bcachefs: Add a workqueue for journal reclaimKent Overstreet1-1/+1
2023-10-22bcachefs: fixes for getting stuck flushing journal pinsKent Overstreet1-24/+19
2023-10-22bcachefs: Deferred btree updatesKent Overstreet1-0/+19
2023-10-22bcachefs: Journal refactoringKent Overstreet1-1/+2
2023-10-22bcachefs: Fix a use after free in the journal codeKent Overstreet1-61/+74
2023-10-22bcachefs: Initial commitKent Overstreet1-0/+402