aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_assert.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2025-05-13 16:55:44 +0000
committerKent Overstreet <[email protected]>2025-05-14 21:05:19 +0000
commit7b6759b1991d427cf9a562b2891b8c3e87a19c76 (patch)
tree6ccea7b463257f87df116efd52f029ea19491e99 /rust/helpers/build_assert.c
parentbcachefs: Fix broken btree_path lock invariants in next_node() (diff)
downloadkernel-7b6759b1991d427cf9a562b2891b8c3e87a19c76.tar.gz
kernel-7b6759b1991d427cf9a562b2891b8c3e87a19c76.zip
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 <[email protected]>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions