diff options
author | Eric Sandeen <sandeen@redhat.com> | 2010-08-05 07:46:37 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-08-05 07:46:37 +0200 |
commit | 0cfc9255a1efb0467de2162950197750570ecec0 (patch) | |
tree | 3bb2510d8b6d373d7db3a49bcda3cbbebd10330e /fs/ext4/inode.c | |
parent | jbd2: Remove t_handle_lock from start_this_handle() (diff) | |
download | linux-0cfc9255a1efb0467de2162950197750570ecec0.tar.xz linux-0cfc9255a1efb0467de2162950197750570ecec0.zip |
ext4: re-inline ext4_rec_len_(to|from)_disk functions
commit 3d0518f4, "ext4: New rec_len encoding for very
large blocksizes" made several changes to this path, but from
a perf perspective, un-inlining ext4_rec_len_from_disk() seems
most significant. This function is called from ext4_check_dir_entry(),
which on a file-creation workload is called extremely often.
I tested this with bonnie:
# bonnie++ -u root -s 0 -f -x 200 -d /mnt/test -n 32
(this does 200 iterations) and got this for the file creations:
ext4 stock: Average = 21206.8 files/s
ext4 inlined: Average = 22346.7 files/s (+5%)
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
0 files changed, 0 insertions, 0 deletions