Whamcloud - gitweb
LU-8999 quota: fix issue of multiple call of seq start 67/32567/3
authorHongchao Zhang <hongchao.zhang@intel.com>
Thu, 24 May 2018 20:33:55 +0000 (16:33 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 19 Jan 2019 06:27:27 +0000 (06:27 +0000)
commitcf796725fd39f0c807f60a86d2ddaa22e88c3a8c
tree8b3eadfc5f733f9306e0406b36d76049936747fb
parent587eafd6d5891200946e880fe061c74fc3578642
LU-8999 quota: fix issue of multiple call of seq start

Multiple call of lprocfs_quota_seq_start could change the block
orders in the lower level of the quota tree, which will cause
quota entries to be skipped.

This patch also fix a problem in walk_tree_dqentry, which some
entries could be skipped for the "index" can be added even if
a valid quota entry has been found.

Lustre-commit: 07fdba2244e748e1721232abc52617209a544b87
Lustre-change: http://review.whamcloud.com/31721

Change-Id: I21f31647ebc15d34dc2021a2d8c5ad40fe128535
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-on: https://review.whamcloud.com/32567
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_quota.c
lustre/osd-ldiskfs/osd_quota_fmt.c