Whamcloud - gitweb
LU-8066 obd: use correct names for conn_uuid 13/33213/6
authorJames Simmons <uja.ornl@yahoo.com>
Sat, 13 Oct 2018 02:34:58 +0000 (22:34 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 29 Oct 2018 16:00:43 +0000 (16:00 +0000)
commitf2bf876ef77ed8eda2eeb1b78ead85c1a7a8f81e
treed6cb6c382c9a3d5f0ab721eef923c5a45bf2daa6
parent27c51b5623123ba3208569ecdef343f61646c7e4
LU-8066 obd: use correct names for conn_uuid

The LUSTRE_R[OW]_ATTR() macros assume that the name of the sysfs
file to create matches the beginning of the function names. In
the case of LUSTRE_RO_ATTR(conn_uuid) this maps to the function
conn_uuid_show() and generated sysfs files "conn_uuid". While it
makes sense to standardize this interface we need to keep the
old xxx_conn_uuid. We can create these xxx_conn_uuid sysfs files
by using the base sysfs attr macro LUSTRE_ATTR().

Change-Id: I3bea85334578a07f4758f54773846d0f24a3d69a
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/33213
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lprocfs_status.h
lustre/mdc/lproc_mdc.c
lustre/mgc/lproc_mgc.c
lustre/obdclass/lprocfs_status.c
lustre/osc/lproc_osc.c
lustre/osp/lproc_osp.c