diff options
author | 2019-11-05 17:44:09 +0100 | |
---|---|---|
committer | 2019-11-05 12:13:25 -0500 | |
commit | b90bfdf581194a0fa5f6c26fef1e522f15f6212e (patch) | |
tree | 049cad17c0b0b24520d734501ad6a1c4a2b05935 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | jbd2: Fixup stale comment in commit code (diff) | |
download | linux-rng-b90bfdf581194a0fa5f6c26fef1e522f15f6212e.tar.xz linux-rng-b90bfdf581194a0fa5f6c26fef1e522f15f6212e.zip |
jbd2: Completely fill journal descriptor blocks
With 32-bit block numbers, we don't allocate the array for journal
buffer heads large enough for corresponding descriptor tags to fill the
descriptor block. Thus we end up writing out half-full descriptor blocks
to the journal unnecessarily growing the transaction. Fix the logic to
allocate the array large enough.
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20191105164437.32602-3-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