Whamcloud - gitweb
LU-2395 ofd: Maintain per-export {read,write}_bytes counters
authorJohn L. Hammond <jhammond@tacc.utexas.edu>
Tue, 27 Nov 2012 20:28:20 +0000 (14:28 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jan 2013 06:16:27 +0000 (01:16 -0500)
commit99be593f3966e487f78526ca48f6b39b99f83414
tree48248451d23478cb2724eaafaaf0c8262d999775
parentdf7c3d41c67674df4fe137084ed8afedd3be89aa
LU-2395 ofd: Maintain per-export {read,write}_bytes counters

Add handling of these counters to ofd_counter_incr() and add a test to
sanity to ensure that they work as intended.

Signed-off-by: John L. Hammond <jhammond@tacc.utexas.edu>
Change-Id: I49e237a6387b8ece1aecd63987ad4a75897b430b
Reviewed-on: http://review.whamcloud.com/4687
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/ofd/ofd_internal.h
lustre/tests/sanity.sh