Whamcloud - gitweb
LU-10802 nrs: mismatch problem for wildcard in jobid TBF 56/31956/2
authorQian Yingjin <qian@ddn.com>
Fri, 22 Sep 2017 03:02:24 +0000 (11:02 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 3 May 2018 19:15:59 +0000 (19:15 +0000)
commitabd7908cf34a592d4b5b144e3c6006d81c54bdbd
tree38e104f648b06a06c452ecb5e3c64b7e1c83ed5a
parent44af4b737ca4dba3bb93cfe6d43f4bab276f5404
LU-10802 nrs: mismatch problem for wildcard in jobid TBF

When set the NRS JOBID rule
"start runas jobid={*.500} rate=10", run the dd with user 500,
the RPC rate is not under control.
This patch fix this mismatch problem for wildcard in TBF JOBID.

Test-Parameters: trivial testlist=sanityn
Lustre-change: https://review.whamcloud.com/29162
Lustre-commit: 96f5cc0eb36c0bc799016cb3c6f11c3ddf475157

Change-Id: I39a8e691c9dc8273ed9fce686eeef71be1ac3e43
Signed-off-by: Qian Yingjin <qian@ddn.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31956
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/include/lprocfs_status.h
lustre/obdclass/lprocfs_status.c
lustre/ptlrpc/nrs_tbf.c
lustre/tests/sanityn.sh