[LU-6100] LustreError: 4256:0:(osd_handler.c:1977:osd_attr_set()) ASSERTION( dt_object_exists(dt) ) Created: 09/Jan/15  Updated: 09/Jan/15  Resolved: 09/Jan/15

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

Type: Bug Priority: Minor
Reporter: Di Wang Assignee: Di Wang
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by LU-5565 (osd_handler.c:1959:osd_attr_set()) A... Resolved
Severity: 3
Rank (Obsolete): 16976

 Description   

LBUG during racer with 4 MDTs, 2 OSTs.
LustreError: 4256:0:(osd_handler.c:1977:osd_attr_set()) ASSERTION( dt_object_exists(dt) ) failed:
LustreError: 4256:0:(osd_handler.c:1977:osd_attr_set()) LBUG
Pid: 4256, comm: mdt_out00_000

Call Trace:
[<ffffffffa04e8895>] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
[<ffffffffa04e8e97>] lbug_with_loc+0x47/0xb0 [libcfs]
[<ffffffffa0d89ed9>] osd_attr_set+0x1c9/0x510 [osd_ldiskfs]
[<ffffffff8152c946>] ? down_write+0x16/0x40
[<ffffffffa0914180>] out_tx_attr_set_exec+0x260/0x3f0 [ptlrpc]
[<ffffffffa090c77a>] out_tx_end+0xda/0x5c0 [ptlrpc]
[<ffffffffa0913246>] out_handle+0x9a6/0xea0 [ptlrpc]
[<ffffffffa08a815c>] ? lustre_msg_get_opc+0x9c/0x110 [ptlrpc]
[<ffffffffa090898e>] tgt_request_handle+0x8be/0x1000 [ptlrpc]
[<ffffffffa08ba471>] ptlrpc_main+0xdb1/0x18e0 [ptlrpc]
[<ffffffffa08b96c0>] ? ptlrpc_main+0x0/0x18e0 [ptlrpc]
[<ffffffff8109b0f6>] kthread+0x96/0xa0
[<ffffffff8100c20a>] child_rip+0xa/0x20
[<ffffffff8109b060>] ? kthread+0x0/0xa0
[<ffffffff8100c200>] ? child_rip+0x0/0x20



 Comments   
Comment by Di Wang [ 09/Jan/15 ]

It probably because of the race between close orphan striped directory and setxattr of striped directory. I will try to cook a patch.

Comment by Gerrit Updater [ 09/Jan/15 ]

wangdi (di.wang@intel.com) uploaded a new patch: http://review.whamcloud.com/13305
Subject: LU-6100 mdd: Not set xattr if object is DEAD
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d4571d7a6334a11d5aa90a9f27666a0293dfb4df

Comment by John Hammond [ 09/Jan/15 ]

This is LU-5565.

Comment by Oleg Drokin [ 09/Jan/15 ]

o I see that hte patch in the 5565 is much more comprehensive at that and we probably should be landing that.
WangDi can you please review http://review.whamcloud.com/#/c/12608/5 ?

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