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>
Sat, 1 Jun 2013 02:22:30 +0000 (22:22 -0400)
commit5d36d37d6630ec6917beed0c4fe43f216070dc0b
tree6dfe52a9526877d1cedd55deefd549890bb745d7
parentc4688c988a0f865c1c9f2b72851bf199158b89e0
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