Whamcloud - gitweb
LU-17034 quota: tmp fix against memory corruption 35/55035/2
authorSergey Cheremencev <scherementsev@ddn.com>
Mon, 8 Apr 2024 11:43:53 +0000 (14:43 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 May 2024 18:19:35 +0000 (18:19 +0000)
commit92c75b7e9fc0616fa660fce3a69f823524297d1c
tree3c344fb8b1fb53db7f049e13c5b73892f4b83e12
parent92ff1082470b1dd4b75e654105d2e203bd0c88f4
LU-17034 quota: tmp fix against memory corruption

Change QMT_INIT_SLV_CNT from 64 to 2000 to avoid accessing
memory out of array lqeg_arr. It could happen when at least
one of OSTs has index larger than the whole number of OSTs.
It is a temporary solution and maximum supported OST index
is 0x7d0. Later it will be changed with the longterm
solution.

Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Change-Id: I8d9444017fa9847142f3df77c63368282ff134c4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55035
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Stephane Thiell <sthiell@stanford.edu>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/quota/qmt_entry.c