diff options
author | 2025-01-27 01:21:44 -0500 | |
---|---|---|
committer | 2025-02-06 22:35:11 -0500 | |
commit | 9e9033522ad1e4bb697c9493aa449630fa2c98d2 (patch) | |
tree | 9956331176a7d0fa7eb5ca454c920bfa32b90428 /net/lapb/lapb_in.c | |
parent | bcachefs: fix deadlock in journal_entry_open() (diff) | |
download | wireguard-linux-9e9033522ad1e4bb697c9493aa449630fa2c98d2.tar.xz wireguard-linux-9e9033522ad1e4bb697c9493aa449630fa2c98d2.zip |
bcachefs: Fix discard path journal flushing
The discard path is supposed to issue journal flushes when there's too
many buckets empty buckets that need a journal commit before they can be
written to again, but at some point this code seems to have been lost.
Bring it back with a new optimization to make sure we don't issue too
many journal flushes: the journal now tracks the sequence number of the
most recent flush in progress, which the discard path uses when deciding
which buckets need a journal flush.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions