Whamcloud - gitweb
LU-17034 quota: tmp fix against memory corruption
authorSergey Cheremencev <scherementsev@ddn.com>
Thu, 24 Aug 2023 00:57:10 +0000 (04:57 +0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 1 Sep 2023 13:16:33 +0000 (13:16 +0000)
commitfdcb1144c95908bbbd0216ec931ac5f222f484a7
treeef9bbcaa5f5782ddc06363355b0783df0f0d75e2
parentb484128db04d310aeeffbaebbe47b930f734d891
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: Ic892352b7e833c58ea14bb7cfb98b4946f4ca9bb
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52180
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/quota/qmt_entry.c