Skip to content
Commit 8e4d2803 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Don't aggressively discard the journal



We frequently use 'bcachefs list_journal -a' for debugging, as it
provides a record of all btree transactions, and a history of what
happened.

But it's not so useful if we immediately discard journal buckets right
after they're no longer dirty.

This tweaks journal reclaim to only discard when we're low on space,
keeping the journal mostly un-discarded.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent da18dabc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment