summaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2010-12-07 18:51:05 +0100
committerJan Kara <jack@suse.cz>2011-01-10 19:04:06 +0100
commit40a063f6691ce937a3d00c9700b6964b5ec4e022 (patch)
tree2726e4d6b5716edb3a1124a3c7a4ba1348d84b69 /fs/ext3
parentext3: Add more journal error check (diff)
downloadlinux-40a063f6691ce937a3d00c9700b6964b5ec4e022.tar.xz
linux-40a063f6691ce937a3d00c9700b6964b5ec4e022.zip
ext2: speed up file creates by optimizing rec_len functions
The addition of 64k block capability in the rec_len_from_disk and rec_len_to_disk functions added a bit of math overhead which slows down file create workloads needlessly when the architecture cannot even support 64k blocks, thanks to page size limits. The directory entry checking can also be optimized a bit by sprinkling in some unlikely() conditions to move the error handling out of line. bonnie++ sequential file creates on a 512MB ramdisk speeds up from about 2200/s to about 2500/s, about a 14% improvement. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3')
0 files changed, 0 insertions, 0 deletions