Whamcloud - gitweb
LU-3384 llite: use READ, WRITE around ll_rw_stats_tally()
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 24 May 2013 18:18:58 +0000 (13:18 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 31 May 2013 16:23:55 +0000 (12:23 -0400)
commita6476823f1c9697762403e33808f8598cde2bbcc
treee02f75a91ebcd1a83e8b8c6e8b75609cbf073250
parentea766bd959cc2347b223d597b3f8a31e010bed72
LU-3384 llite: use READ, WRITE around ll_rw_stats_tally()

In vvp_io_write_start() the stats function ll_rw_stats_tally() was
incorrectly called with a rw argument of 0. Correct this and use the
macros READ and WRITE in and around ll_rw_stats_tally() for clarity.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Icca6cfcc102b2944761ff211f1b2c2734aae8ecf
Reviewed-on: http://review.whamcloud.com/6447
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/llite/lproc_llite.c
lustre/llite/vvp_io.c