[LU-16779] racer.sh hanged with cp during cleanup Created: 27/Apr/23  Updated: 07/Jun/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Qian Yingjin Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

racer.sh hanged with cp during cleanup:
The cp process stack outputs are as follows:
https://testing.whamcloud.com/test_logs/b9f47296-5241-4f20-a48e-2c3b0c84bc77/show_text

[15964.600947] task:cp              state:S stack:    0 pid:750577 ppid:     1 flags:0x00004080
[15964.602308] Call Trace:
[15964.602765]  __schedule+0x2d1/0x860
[15964.603383]  schedule+0x35/0xa0
[15964.603939]  ldlm_completion_ast+0x5ed/0x900 [ptlrpc]
[15964.604842]  ? finish_wait+0x80/0x80
[15964.605473]  ldlm_lock_match_with_skip+0x378/0x790 [ptlrpc]
[15964.606463]  osc_enqueue_base+0x111/0x550 [osc]
[15964.607322]  ? osc_lock_upcall_speculative+0x2d0/0x2d0 [osc]
[15964.608286]  osc_lock_enqueue+0x41f/0xab0 [osc]
[15964.609071]  cl_lock_enqueue+0x5f/0x130 [obdclass]
[15964.610115]  lov_lock_enqueue+0x5d/0x170 [lov]
[15964.610908]  cl_lock_enqueue+0x5f/0x130 [obdclass]
[15964.611759]  cl_lock_request+0x66/0x1d0 [obdclass]
[15964.612611]  cl_io_lock+0x127/0x320 [obdclass]
[15964.613405]  cl_io_loop+0x89/0x200 [obdclass]
[15964.614198]  cl_setattr_ost+0x2b5/0x340 [lustre]
[15964.615120]  ll_setattr_raw+0x8df/0xf10 [lustre]
[15964.615929]  ? lprocfs_counter_add+0x12a/0x1a0 [obdclass]
[15964.616875]  notify_change+0x337/0x4c0
[15964.617541]  do_truncate+0x74/0xc0
[15964.618150]  path_openat+0x5c2/0x1500
[15964.618798]  ? do_swap_page+0x6d1/0x710
[15964.619466]  do_filp_open+0x93/0x100
[15964.620093]  ? getname_flags+0x4a/0x1e0
[15964.620767]  ? __check_object_size+0xac/0x173
[15964.621512]  ? __alloc_fd+0xb1/0x150
[15964.622145]  do_sys_openat2+0x211/0x2b0
[15964.622808]  do_sys_open+0x4b/0x80
[15964.623408]  do_syscall_64+0x5b/0x1b0
[15964.624051]  entry_SYSCALL_64_after_hwframe+0x61/0xc6

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