Whamcloud - gitweb
LU-1319 mdt: increment MDT getattr stats
authoryangsheng <ys@whamcloud.com>
Wed, 2 May 2012 14:44:42 +0000 (22:44 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 7 May 2012 15:15:15 +0000 (11:15 -0400)
commit08baca07bb19fb34f1a6a1bbe943d9ef318463fd
tree689a26b8fcc9cb3684405d86fb0e3df3dca361f1
parent822cb2cdd59328944ea401eeede664abd00a64ca
LU-1319 mdt: increment MDT getattr stats

Move increment of MDT getattr stat from mdt_getattr() to
mdt_getattr_internal() so we don't miss other call paths
that may service getattr requests.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: yang sheng <ys@whamcloud.com>
Change-Id: I25293fe98567b1250ecc2f9645295c1522345295
Reviewed-on: http://review.whamcloud.com/2637
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_handler.c
lustre/tests/sanity.sh