summaryrefslogtreecommitdiffstats
path: root/fs/ncpfs/dir.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2010-08-05 01:46:37 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-08-05 01:46:37 -0400
commit0cfc9255a1efb0467de2162950197750570ecec0 (patch)
tree3bb2510d8b6d373d7db3a49bcda3cbbebd10330e /fs/ncpfs/dir.c
parent8dd420466c7bfc459fa04680bd5690bfc41a4553 (diff)
downloadop-kernel-dev-0cfc9255a1efb0467de2162950197750570ecec0.zip
op-kernel-dev-0cfc9255a1efb0467de2162950197750570ecec0.tar.gz
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/ncpfs/dir.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud