diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-18 21:36:08 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-18 23:35:42 -0400 |
commit | c502b5b878144f43fd06323a95d1e69eed964d8e (patch) | |
tree | 2479529d5173ff6e3c6d6386bda1617eec755639 /net/phonet/sysctl.c | |
parent | b38114dde04e6c73e0de504dee602115c8a5c947 (diff) |
bcachefs; Fix deadlock in bch2_btree_update_start()
BCH_TRANS_COMMIT_journal_reclaim with watermark != BCH_WATERMARK_reclaim
means nonblocking, and we need the journal_res_get() in
btree_update_start() to respect that.
In a future refactoring we'll be deleting
BCH_TRANS_COMMIT_journal_reclaim and replacing it with an explicit
BCH_TRANS_COMMIT_nonblocking.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'net/phonet/sysctl.c')
0 files changed, 0 insertions, 0 deletions