Whamcloud - gitweb
LU-334 llite: Add LPROC_LL_OSC_{READ,WRITE}.
authorJohn Hammond <jhammond@tacc.utexas.edu>
Wed, 21 Sep 2011 22:17:25 +0000 (17:17 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 27 Oct 2011 15:09:59 +0000 (11:09 -0400)
commit07c6f609d37878ce0d308a129a0f3ae967d6197b
tree39962df92cc8be802602548fec80ab58b73cedfe
parentca3587c56cead648c831d7ec041a512917a3a0ae
LU-334 llite: Add LPROC_LL_OSC_{READ,WRITE}.

This patch adds quick and easy access to aggregate OSC BRW (bytes on
the wire) statistics through llite.  To accomplish this, we pass the
number of bytes transferred by a successful request to
cl_req_completion(), and on to ll_stats_ops_tally() by way of the
ccc_req_completion().

Signed-off-by: John L. Hammond <jhammond@tacc.utexas.edu>
Change-Id: I4b464c27f6dc87fcc19d35b2bc45dc7cb9bf7741
Reviewed-on: http://review.whamcloud.com/1341
Reviewed-by: Richard Henwood <rhenwood@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jinshan Xiong <jay@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/linux/lustre_lite.h
lustre/lclient/lcommon_cl.c
lustre/liblustre/llite_lib.h
lustre/llite/llite_internal.h
lustre/llite/lproc_llite.c
lustre/osc/osc_request.c