aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/lib
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@linux.dev> 2024-01-15 17:56:22 -0500
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2024-01-21 13:27:09 -0500
commita6548c8b5eb541e77ffcf497e8761f34172ff828 (patch)
treee1c9a12250c925fe94800e94ac2e53c6e3aa5ad5 /arch/s390/lib
parentbcachefs: Improve move_extent tracepoint (diff)
downloadlinux-a6548c8b5eb541e77ffcf497e8761f34172ff828.tar.gz
linux-a6548c8b5eb541e77ffcf497e8761f34172ff828.tar.bz2
linux-a6548c8b5eb541e77ffcf497e8761f34172ff828.zip
bcachefs: Avoid flushing the journal in the discard path
When issuing discards, we may need to flush the journal if there's too many buckets that can't be discarded until a journal flush. But the heuristic was bad; we should be comparing the number of buckets that need to flushes against the number of free buckets, not the number of buckets we saw. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'arch/s390/lib')
0 files changed, 0 insertions, 0 deletions