diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-04-04 02:27:05 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:58 +0300 |
commit | 6167f7c8ff5ce564423fe8b416b5f95d1712859b (patch) | |
tree | fa4e4542b6a9c8d9448204801403db1779bb18d2 /fs/bcachefs/journal.h | |
parent | b753d4b338df70df1ee75db21a216385bb88b90b (diff) | |
download | linux-6167f7c8ff5ce564423fe8b416b5f95d1712859b.tar.xz |
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.h')
0 files changed, 0 insertions, 0 deletions