diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-13 19:55:44 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-15 00:05:19 +0300 |
commit | 7b6759b1991d427cf9a562b2891b8c3e87a19c76 (patch) | |
tree | 6ccea7b463257f87df116efd52f029ea19491e99 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | b1c71cb492bb26dc883b11b5bd085d2467508f84 (diff) | |
download | linux-7b6759b1991d427cf9a562b2891b8c3e87a19c76.tar.xz |
bcachefs: Fix livelock in journal_entry_open()
When the journal is low on space, we might do discards from
journal_res_get() -> journal_entry_open().
Make sure we set j->can_discard correctly, so that if we're low on space
but not because discards aren't keeping up we don't livelock.
Fixes: 8e4d28036c29 ("bcachefs: Don't aggressively discard the journal")
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions