Whamcloud - gitweb
LU-15366 nrs: increase maximum rate for tbf rule 38/45838/3
authorEtienne AUJAMES <etienne.aujames@cea.fr>
Mon, 13 Dec 2021 15:30:35 +0000 (16:30 +0100)
committerOleg Drokin <green@whamcloud.com>
Wed, 26 Jan 2022 05:16:17 +0000 (05:16 +0000)
commit5663a852321f2a7a1439fa0e0d4e7d1cd4199498
treee4fa3533fd5236fbb3decf99b87d8f354d4b5829
parentf2143c0790bb1cb802fad7e81bcb386dc0245b36
LU-15366 nrs: increase maximum rate for tbf rule

The maximum rpc rate for a tbf rule is 65535. This value could be
problematic for cluster with a large number of clients.

This patch uniformizes the usage of __u64 to store a rpc rate.
And changes the maximum rate for a tbf rule to 1000000 (1 rpc/us)

Signed-off-by: Etienne AUJAMES <eaujames@ddn.com>
Change-Id: I91fd416b9d91bbb5d5674c66ec8ceb0d77a9f7e0
Reviewed-on: https://review.whamcloud.com/45838
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_nrs_tbf.h
lustre/ptlrpc/nrs_tbf.c