Whamcloud - gitweb
LU-10802 nrs: mismatch problem for wildcard in jobid TBF 62/29162/7
authorQian Yingjin <qian@ddn.com>
Fri, 22 Sep 2017 03:02:24 +0000 (11:02 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Apr 2018 19:47:18 +0000 (19:47 +0000)
commit96f5cc0eb36c0bc799016cb3c6f11c3ddf475157
treef9ded37bf5139e411ea1755964d90457262f2984
parent101ee4909eeb23c66ae2dbb0690e3b47db207951
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
Change-Id: I39a8e691c9dc8273ed9fce686eeef71be1ac3e43
Signed-off-by: Qian Yingjin <qian@ddn.com>
Reviewed-on: https://review.whamcloud.com/29162
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lprocfs_status.h
lustre/obdclass/lprocfs_status.c
lustre/ptlrpc/nrs_tbf.c
lustre/tests/sanityn.sh