diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-04-03 19:27:05 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:58 -0400 |
commit | 6167f7c8ff5ce564423fe8b416b5f95d1712859b (patch) | |
tree | fa4e4542b6a9c8d9448204801403db1779bb18d2 /fs/bcachefs/journal_reclaim.c | |
parent | b753d4b338df70df1ee75db21a216385bb88b90b (diff) |
bcachefs: Fix journal deadlock
After we get a journal reservation, we need to use it - if we erorr out
of a transaction commit, we'll be eating into space in the journal and
if our transaction needs to make forward progress in order to reclaim
space in the journal, we'll deadlock.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_reclaim.c')
0 files changed, 0 insertions, 0 deletions