ext4: improve credit estimate for EXT4_SINGLEDATA_TRANS_BLOCKS
authorJan Kara <jack@suse.cz>
Tue, 9 Apr 2013 16:39:26 +0000 (12:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 9 Apr 2013 16:39:26 +0000 (12:39 -0400)
commitf45a5ef91bef7e02149a216ed6dc3fcdd8b38268
treef42e693444d3f2456a7c0a002cffdc1f31f6eeea
parenteabe0444df90b0cdfa7fdc4f0b4b253f0a498ff7
ext4: improve credit estimate for EXT4_SINGLEDATA_TRANS_BLOCKS

Estimate of 27 credits for allocation of a block in extent based inode
is unnecessarily high. We can easily argue 20 is enough.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4_jbd2.h