Page MenuHomeFreeBSD

dounmount(): Acquire covered vnode lock after draining mount point references
Needs ReviewPublic

Authored by olce on Jul 3 2023, 12:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 5 2024, 9:49 AM
Unknown Object (File)
Jan 26 2024, 5:49 AM
Unknown Object (File)
Dec 31 2023, 1:47 PM
Unknown Object (File)
Dec 20 2023, 7:51 AM
Unknown Object (File)
Dec 12 2023, 6:23 AM
Unknown Object (File)
Nov 26 2023, 9:20 AM
Unknown Object (File)
Nov 22 2023, 8:15 AM
Unknown Object (File)
Nov 22 2023, 8:04 AM
Subscribers

Details

Reviewers
mjg
kib
markj
jah
Summary

This is the first step of a series of commits whose goal is to remove the
VV_CROSSLOCK vnode flag and logic and fix a timing-dependent deadlock between
lookup and unmount.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52397
Build 49288: arc lint + arc unit

Event Timeline

olce requested review of this revision.Jul 3 2023, 12:53 PM

Submitted by: jah@ (Jason Harmening)

This change ought to have @jah as the author and you in a Co-authored-by: trailer (or vice-versa, depending on who is primarily responsible). Submitted by is deprecated.

Submitted by: jah@ (Jason Harmening)

This change ought to have @jah as the author and you in a Co-authored-by: trailer (or vice-versa, depending on who is primarily responsible). Submitted by is deprecated.

Sure. It's just that I took only part of the original revision (D40600) from @jah to build this series, and I didn't think I could set the author of a revision I created to someone else, but it seems possible, going to try. All code here is from @jah.

olce edited reviewers, added: olce; removed: jah.
olce edited the summary of this revision. (Show Details)
olce added a reviewer: olce.
olce edited reviewers, added: jah; removed: olce.
olce edited reviewers, added: jah; removed: olce.

At the same time, I'm "responsible" for this series, so maybe it's best that I keep the revision. I could add Co-authored-by, but then really I just made suggestions in D46000 and didn't actually provide code (or very little). Maybe the simplest way is rather to fix the author at commit time by setting the git author to @jah.

In D40847#934819, @olce.freebsd_certner.fr wrote:

At the same time, I'm "responsible" for this series, so maybe it's best that I keep the revision. I could add Co-authored-by, but then really I just made suggestions in D46000 and didn't actually provide code (or very little). Maybe the simplest way is rather to fix the author at commit time by setting the git author to @jah.

Sorry I wasn't clear, I meant specifically the Git Author data. Indeed, Phabricator doesn't handle the concept of uploading a review on someone else's behalf that well. I think you should keep this revision.

(FWIW I have a review open in D41060 to add Co-authored-by to the committer's guide)