[LU-15021] sanity-quota test_55: crash in qmt_seed_glbe_all() Created: 18/Sep/21  Updated: 14/Aug/23  Resolved: 17/Mar/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.15.0
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Major
Reporter: Maloo Assignee: Hongchao Zhang
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-16725 crash at qmt_free_lqe_gd+0xa/0x1f0 Resolved
is related to LU-16772 Protect lqe_glbl_data in qmt_site_rec... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for Andreas Dilger <adilger@whamcloud.com>

This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/91f49aaf-5601-4751-ba97-a4e400d7ab7c

test_55 failed with the following error:

trevis-53vm9 crashed during sanity-quota test_55

Lustre: DEBUG MARKER: == sanity-quota test 55: Chgrp should be affected by group quota ==== 13:45:36 (1631886336)
Lustre: DEBUG MARKER: /usr/sbin/lctl get_param -n osc.*MDT*.sync_*
Lustre: DEBUG MARKER: /usr/sbin/lctl get_param -n osp.*.destroys_in_flight
Lustre: DEBUG MARKER: lctl set_param fail_val=0 fail_loc=0
Lustre: DEBUG MARKER: /usr/sbin/lctl get_param -n version 2>/dev/null
Lustre: DEBUG MARKER: zpool get all
Lustre: DEBUG MARKER: /usr/sbin/lctl conf_param lustre.quota.ost=ugp
Lustre: DEBUG MARKER: /usr/sbin/lctl set_param -n debug=+quota,trace
Lustre: DEBUG MARKER: lctl set_param -n os[cd]*.*MDT*.force_sync=1
Lustre: DEBUG MARKER: lctl set_param -n os[cd]*.*MDT*.force_sync=1
general protection fault: 0000 [#1] SMP PTI
CPU: 1 PID: 310703 Comm: mdt00_000 4.18.0-240.22.1.el8_lustre.x86_64 #1
RIP: 0010:qmt_seed_glbe_all+0x6f6/0x7a0 [lquota]
Call Trace:
  qmt_set_with_lqe+0x782/0xc80 [lquota]
  qmt_set.constprop.17+0x15d/0x2e0 [lquota]
  qmt_quotactl+0x28a/0x610 [lquota]
  mdt_quotactl+0x2c7/0x7c0 [mdt]
  tgt_request_handle+0xc90/0x1940 [ptlrpc]
  ptlrpc_server_handle_request+0x323/0xbc0 [ptlrpc]
  ptlrpc_main+0xba2/0x1490 [ptlrpc]

It is likely that this was introduced by patch https://review.whamcloud.com/33996 "LU-11303 quota: enforce block quota for chgrp" since it just re-enabled this subtest.

VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
sanity-quota test_55 - trevis-53vm9 crashed during sanity-quota test_55



 Comments   
Comment by Andreas Dilger [ 18/Sep/21 ]

Hongchao, could you please take a look.

Comment by Gerrit Updater [ 30/Sep/21 ]

"Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45098
Subject: LU-15021 quota: protect lqe_glbl_data in lqe
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: fa321b5faf98c79d5f439796a7a2b5960a1328a5

Comment by Sebastien Buisson [ 23/Nov/21 ]

+1 on master:
https://testing.whamcloud.com/test_sets/053a9f11-0145-4169-84fc-3c72d1cbfb3e

Comment by Andreas Dilger [ 23/Feb/22 ]

+1 on master in sanity-quota test_3b: https://testing.whamcloud.com/test_sets/f9cba3f9-8eae-4bea-b384-11312116a95b

Comment by Gerrit Updater [ 17/Mar/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45098/
Subject: LU-15021 quota: protect lqe_glbl_data in lqe
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1dbcbd70f87b7390998cd3b1fa546ece9d2a493e

Comment by Peter Jones [ 17/Mar/22 ]

Landed for 2.15

Generated at Sat Feb 10 03:14:46 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.