Whamcloud - gitweb
LU-18024 quota: relate qmt_lvbo_free_wq and QMT 61/56661/3
authorHongchao Zhang <hongchao@whamcloud.com>
Sun, 29 Sep 2024 14:16:42 +0000 (22:16 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 18 Oct 2024 18:47:39 +0000 (18:47 +0000)
commit846db2f7afb81e15e13fffdbcc86c5448e41768c
tree5a76d4fba5bb16baa83372d489cdac981ce751c2
parent41999234f1362140f7962cd21904d044578aa861
LU-18024 quota: relate qmt_lvbo_free_wq and QMT

The global variable "qmt_lvbo_free_wq" could be affected if there
are more than one Lustre mount (for instance, using snapshot),
this patch moves it into "struct qmt_device" and it will only be
used by this QMT(MDT0000) and avoid conflict.

Fixes: 2cc18ece1e ("LU-14535 quota: free lvbo in a wq")
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Change-Id: I298382fa0eed6885e55991e26e4b36d435e99e26
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56661
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
lustre/quota/qmt_dev.c
lustre/quota/qmt_internal.h
lustre/quota/qmt_lock.c