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)
Mon, Nov 11, 9:27 AM
Unknown Object (File)
Sep 19 2024, 3:31 PM
Unknown Object (File)
Sep 5 2024, 8:39 AM
Unknown Object (File)
Aug 24 2024, 6:29 AM
Unknown Object (File)
Aug 22 2024, 9:17 PM
Unknown Object (File)
Aug 21 2024, 10:44 PM
Unknown Object (File)
Jun 27 2024, 1:36 PM
Unknown Object (File)
May 25 2024, 9:35 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)