Btrfs: add branch prediction hints in the read page end IO function
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 25 Jul 2013 11:22:33 +0000 (19:22 +0800)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:04:32 +0000 (08:04 -0400)
commitf2a09da9d0cba17ad4041e7e54f1ca840b12d0be
tree6b86b60c711d8d874cb321bad816f956edb90de2
parent09a7f7a28939fe281b6f2fef0fb1a733007d91fe
Btrfs: add branch prediction hints in the read page end IO function

This patch add some branch prediction hints into the end IO function
of the read page, it reduced the percentage of the branch misses from
5.5% to 4.9%.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/extent_io.c