[LU-7713] sanityn/91 fails with zfs Created: 26/Jan/16  Updated: 15/Feb/16  Resolved: 15/Feb/16

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

Type: Bug Priority: Blocker
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None
Environment:

zfs, dne


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanityn/91 with few zfs-backed MDTs may fail unexpectedly due to destroy vs. attr_get race.



 Comments   
Comment by Gerrit Updater [ 26/Jan/16 ]

Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/18155
Subject: LU-7713 osd: osd-zfs should serialize destroy vs. others
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c7524fc7a5261f68167ec7258945506e219610dd

Comment by Joseph Gmitter (Inactive) [ 26/Jan/16 ]

Assigning to Alex as there is already a patch in flight.

Comment by Frank Heckes (Inactive) [ 03/Feb/16 ]

Hi Alex: We have a problem documented in LU-5565 pointing to this change. Could please upload a rebased version for http://review.whamcloud.com/#/c/18155/
I tried to build on tip of master (commit bb32a147e35f3339832e41e045de68f304ce18cc), but patches don't merge anymore.
This might help avoid reformatting soaked FS. Many thanks in advance.

Comment by Alex Zhuravlev [ 03/Feb/16 ]

hmm, the patch itself doesn't report this.. I'm gonna try locally.
update: it applies and builds.. I've refreshed it to address Andreas's comments.

Comment by Frank Heckes (Inactive) [ 03/Feb/16 ]

My apologies for the spam. The problem occur only if I try to use your patch together with http://review.whamcloud.com/#/c/16838/42. Di will push a update for his patch. I hope this didn't cause unnecessary work.

Comment by Gerrit Updater [ 03/Feb/16 ]

Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/18281
Subject: LU-7713 osd: osd-zfs should serialize destroy vs. others
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0427e3ae7a8d356e17916596e812d140271dc554

Comment by Alex Zhuravlev [ 03/Feb/16 ]

please, try this version http://review.whamcloud.com/#/c/18281/

Comment by Andreas Dilger [ 09/Feb/16 ]

The last patch was abandoned, the current patch is http://review.whamcloud.com/18155

Comment by Gerrit Updater [ 15/Feb/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/18155/
Subject: LU-7713 osd: osd-zfs should serialize destroy vs. others
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f9ca359284357d145819beb08b316e932f7a3060

Comment by Peter Jones [ 15/Feb/16 ]

Landed for 2.8

Generated at Sat Feb 10 02:11:17 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.