diff options
author | 2019-11-05 17:44:24 +0100 | |
---|---|---|
committer | 2019-11-05 16:00:48 -0500 | |
commit | 9f356e5a4f12008fa0df8b6385fc0ab830416e72 (patch) | |
tree | 6ec4a24cc440123cd810bf520c609d01abe0ebd3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | jbd2: Factor out common parts of stopping and restarting a handle (diff) | |
download | linux-rng-9f356e5a4f12008fa0df8b6385fc0ab830416e72.tar.xz linux-rng-9f356e5a4f12008fa0df8b6385fc0ab830416e72.zip |
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 <jack@suse.cz>
Link: https://lore.kernel.org/r/20191105164437.32602-18-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions