HomeFreeBSD

vfs: use vn_lock_pair to avoid establishing an ordering on mount

Description

vfs: use vn_lock_pair to avoid establishing an ordering on mount

This fixes some of the LORs seen on mount/unmount.

Complete fix will require taking care of unmount as well.

Reviewed by: kib
Tested by: pho (previous version)
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D31611

Details

Provenance
mjgAuthored on Aug 18 2021, 9:14 PM
Reviewer
kib
Differential Revision
D31611: vfs: use vn_lock_pair to avoid establishing an ordering on mount
Parents
rG2651609fcbd7: Allow rc.d script to provide "status" method, even if it does not
Branches
Unknown
Tags
Unknown