summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2019-11-05 17:44:31 +0100
committerTheodore Ts'o <tytso@mit.edu>2019-11-05 16:00:49 -0500
commit19014d697147c6aea3a34eea00a2844e698d070f (patch)
tree72b522a833ad1ae040fe6cf42a0c1153a55cdb42 /fs/ocfs2
parent0094f981bbaca3ae707c95c5e5977429d29c2dd0 (diff)
downloadlinux-stable-19014d697147c6aea3a34eea00a2844e698d070f.tar.gz
linux-stable-19014d697147c6aea3a34eea00a2844e698d070f.tar.bz2
linux-stable-19014d697147c6aea3a34eea00a2844e698d070f.zip
jbd2: Fine tune estimate of necessary descriptor blocks
Currently we reserve j_max_transaction_buffers / 32 for transaction descriptor blocks. Now that revoke descriptors are accounted for separately this estimate is unnecessarily high and we can actually compute much tighter estimate. In the common case of 32k journal blocks and 4k blocksize this actually reduces the amount of reserved descriptor blocks from 256 to ~25 which allows us to fit more real data into a transaction. Signed-off-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20191105164437.32602-25-jack@suse.cz Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions