Whamcloud - gitweb
LU-884 osc: remove unlikely() marker for checksums
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 25 Feb 2012 23:06:39 +0000 (16:06 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 29 Mar 2012 04:11:15 +0000 (00:11 -0400)
commitc1e490a9db157f3947f51750b6975e10ea515be3
tree6c889bf699504f899f328c5f95e0513bd1ce426e
parenta44174684d800d74d35d9eb0b1b65bcfd0dd8163
LU-884 osc: remove unlikely() marker for checksums

When the bulk RPC checksums were originally introduced they were
disabled by default, and marked with an unlikely() annotation for
the compiler to optimize branch prediction.  Checksums are now
enabled by default, so this compiler annotation is incorrect.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ib1d5c09da732224dfd331c1ce07a252a441ed549
Reviewed-on: http://review.whamcloud.com/2197
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osc/osc_request.c
lustre/ost/ost_handler.c