Whamcloud - gitweb
LU-16913 quota: fix ASSERTION(lqe->lqe_gl) 29/51629/2
authorSergey Cheremencev <scherementsev@ddn.com>
Tue, 11 Jul 2023 14:28:12 +0000 (18:28 +0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 19 Jul 2023 16:45:47 +0000 (16:45 +0000)
commit5df0459712fe1af2bc9459b4ce1b5a1220682c26
tree828d0305403455be52936d780928b9f1e9007ae4
parent07764c4eeb42f2362758c851ad825fd3b6d27219
LU-16913 quota: fix ASSERTION(lqe->lqe_gl)

It is possible to add in a 2nd time lqe into qmt_reba_list while
handling of the 1st from the 1st time is not finished. There is a
small window in qmt_id_lock_glimpse when lqe_link is empty but
lqe_gl is not set.

Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Change-Id: I1168903bff88df7e5106186b082e8065a6480367
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51629
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/quota/qmt_lock.c