HomeFreeBSD

When we do open, we should lock the vnode exclusively. This fixes few races:
rS171599Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

When we do open, we should lock the vnode exclusively. This fixes few races:

  • fifo race, where two threads assign v_fifoinfo,
  • v_writecount modifications,
  • v_object modifications,
  • and probably more...

Discussed with: kib, ups
Approved by: re (rwatson)

Details

Provenance
pjdAuthored on
Parents
rS171598: The v_mountedhere field is protected by the vnode lock, not vnode's internal
Branches
Unknown
Tags
Unknown

Event Timeline