aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2019-11-05 17:44:24 +0100
committerTheodore Ts'o <[email protected]>2019-11-05 16:00:48 -0500
commit9f356e5a4f12008fa0df8b6385fc0ab830416e72 (patch)
tree6ec4a24cc440123cd810bf520c609d01abe0ebd3 /scripts/bpf_helpers_doc.py
parentec8b6f600e49dc87a8564807fec4193bf93ee2b5 (diff)
jbd2: Account descriptor blocks into t_outstanding_credits
Currently, journal descriptor blocks were not accounted in transaction->t_outstanding_credits and we were just leaving some slack space in the journal for them (in jbd2_log_space_left() and jbd2_space_needed()). This is making proper accounting (and reservation we want to add) of descriptor blocks difficult so switch to accounting descriptor blocks in transaction->t_outstanding_credits and just reserve the same amount of credits in t_outstanding credits for journal descriptor blocks when creating transaction. Signed-off-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions