Whamcloud - gitweb
LU-17034 quota: tmp fix against memory corruption
authorSergey Cheremencev <scherementsev@ddn.com>
Mon, 8 Apr 2024 11:43:53 +0000 (14:43 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 9 Apr 2024 21:48:56 +0000 (21:48 +0000)
commit18b92f8baa13024de8b15ae7630c559e31ce79f9
treec6988cd0078d81365c31ab07fb45f6ca1c7e1983
parent0fe1faf20cdf119591f151242aecd7d11e29a6ce
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/ex/lustre-release/+/54696
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/quota/qmt_entry.c