Whamcloud - gitweb
LU-5928 obdclass: fix export of nodemap to procfs 75/13175/3
authorDmitry Eremin <dmitry.eremin@intel.com>
Tue, 23 Dec 2014 13:43:59 +0000 (16:43 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 4 Jan 2015 18:28:48 +0000 (18:28 +0000)
commitd68d56c00e7788a445f94b6e099f7f8b9e259bae
treed270e85abffa6f8ded34631780f3532a22474cbd
parent943469dc33ab665d3908847a21dfee6a3b574505
LU-5928 obdclass: fix export of nodemap to procfs

Rewrite export code of nodemaps to use nid_stats instead of
exp directly like is done for other members.

Clean up redundant code.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: Ib3ddeabcb1c132eb1b91a0cf9583cc0f74a61e5d
Reviewed-on: http://review.whamcloud.com/13175
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lprocfs_status.h
lustre/mdt/mdt_fs.c
lustre/mgs/mgs_fs.c
lustre/obdclass/lprocfs_status_server.c
lustre/ofd/ofd_obd.c