summaryrefslogtreecommitdiff
path: root/fs/bcachefs/journal.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-04-04 02:27:05 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:58 +0300
commit6167f7c8ff5ce564423fe8b416b5f95d1712859b (patch)
treefa4e4542b6a9c8d9448204801403db1779bb18d2 /fs/bcachefs/journal.h
parentb753d4b338df70df1ee75db21a216385bb88b90b (diff)
downloadlinux-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