staging/lustre: Replace jobid acquiring with per node setting
authorOleg Drokin <green@linuxhacker.ru>
Mon, 28 Apr 2014 02:21:52 +0000 (22:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 May 2014 23:33:15 +0000 (19:33 -0400)
commit76133e66b1417a73c0950d0716219d09ee21d595
tree29ad374dd3b66ed29c5eb60f60284eaa26b030d5
parent7bc3dfa37ba6f6ea81c362eb1993bd20c0828eae
staging/lustre: Replace jobid acquiring with per node setting

Insted of meddling directly in process environment variables
(which is also not possible on certain platforms due to not exported
symbols), create jobid_name proc file to represent this info
(to be filled by job scheduler epilogue).

Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
CC: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/curproc.h
drivers/staging/lustre/lustre/include/lprocfs_status.h
drivers/staging/lustre/lustre/include/obd_class.h
drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c
drivers/staging/lustre/lustre/obdclass/class_obd.c
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c