Whamcloud - gitweb
LU-1282 lprocfs: Add a module param to disable percpu stats
authorBobi Jam <bobijam@whamcloud.com>
Thu, 12 Apr 2012 00:48:42 +0000 (08:48 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 18 Apr 2012 16:49:45 +0000 (12:49 -0400)
commit46684f926792a4532030698d90d9bc59b93e225d
treef0c1c84b34d125b53ecc422b6cec223f6fb46a04
parent3fe74297d3dd063d23f26ae9850bdf8f0892fae8
LU-1282 lprocfs: Add a module param to disable percpu stats

Add an obdclass module option to choose to use a single lprocfs stats
structure rather than percpu data.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I45d5a05029197e629d4f7d161a5e4e5d01a93bf5
Reviewed-on: http://review.whamcloud.com/2515
Tested-by: Hudson
Reviewed-by: Christopher J. Morrone <chris.morrone.llnl@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/lprocfs_status.c