[LU-14807] GPF in lfsck_namespace_record_failure() Created: 02/Jul/21  Updated: 13/Jan/22  Resolved: 11/Sep/21

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

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

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
[185066.241359] general protection fault: 0000 [#1] SMP
...
[185066.268709] task: ffff95d0602e62a0 ti: ffff95cf9cc5c000 task.ti: ffff95cf9cc5c000
[185066.270628] RIP: 0010:[<ffffffffc1381110>]  [<ffffffffc1381110>] osd_it_ea_store+0x10/0x20 [osd_ldiskfs]
[185066.272774] RSP: 0018:ffff95cf9cc5fbe8  EFLAGS: 00010282
[185066.274431] RAX: 5a5a5a5a5a5a5a5a RBX: ffff95c64f850100 RCX: 0000000000000000
[185066.276282] RDX: ffff95cf9cc5fc38 RSI: ffff95cae9ca9c20 RDI: ffff95c74a5305a0
[185066.278101] RBP: ffff95cf9cc5fbe8 R08: 000000000000000a R09: 000000000000fffd
[185066.279936] R10: 0000000000000000 R11: 000000000000000f R12: ffff95cf9cc5fc38
[185066.281729] R13: ffff95c74a5305a0 R14: 0000000000000000 R15: ffff95c74a5305a0
[185066.283634] FS:  0000000000000000(0000) GS:ffff95db29080000(0000) knlGS:0000000000000000
[185066.285540] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[185066.287300] CR2: 00007f2f542d1000 CR3: 0000002527ddc000 CR4: 0000000000760fe0
[185066.289252] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[185066.290890] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[185066.292534] PKRU: 00000000
[185066.293753] Call Trace:
[185066.294968]  [<ffffffffc1416519>] lfsck_pos_fill+0x79/0x130 [lfsck]
[185066.296503]  [<ffffffffc14285d8>] lfsck_namespace_record_failure+0x38/0x250 [lfsck]
[185066.298169]  [<ffffffffc143f359>] lfsck_namespace_assistant_handler_p1+0xaa9/0x1fd0 [lfsck]
[185066.299835]  [<ffffffffc1422fce>] lfsck_assistant_engine+0x3ce/0x20a0 [lfsck]
[185066.301383]  [<ffffffff930e6601>] ? put_prev_entity+0x31/0x400
[185066.302887]  [<ffffffff9302b59e>] ? __switch_to+0xce/0x580
[185066.304341]  [<ffffffff930db600>] ? wake_up_state+0x20/0x20
[185066.305798]  [<ffffffffc1422c00>] ? lfsck_master_engine+0x1370/0x1370 [lfsck]
[185066.307393]  [<ffffffff930c6321>] kthread+0xd1/0xe0
[185066.308744]  [<ffffffff930c6250>] ? insert_kthread_work+0x40/0x40
[185066.310249]  [<ffffffff9378ed1d>] ret_from_fork_nospec_begin+0x7/0x21
[185066.311744]  [<ffffffff930c6250>] ? insert_kthread_work+0x40/0x40
[185066.313206] Code: 48 83 c0 02 48 83 c0 07 48 83 e0 f8 5d c3 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 8b 86 10 01 00 00 48 89 e5 <48> 8b 40 18 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
[185066.317795] RIP  [<ffffffffc1381110>] osd_it_ea_store+0x10/0x20 [osd_ldiskfs]
[185066.319363]  RSP <ffff95cf9cc5fbe8>


 Comments   
Comment by Gerrit Updater [ 02/Jul/21 ]

Hongchao Zhang (hongchao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44130
Subject: LU-14807 lfsck: fix race in lfsck_pos_fill
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6e35b085732dcec117dfb58b2ccd4e772a515d96

Comment by Gerrit Updater [ 11/Sep/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44130/
Subject: LU-14807 lfsck: fix race in lfsck_pos_fill
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 911f638bd6c547591e784fcec668fe9811916e21

Comment by Peter Jones [ 11/Sep/21 ]

Landed for 2.15

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