HomeFreeBSD

Do not fork nfsiod directly from the vop methods. This causes LORs between

Description

Do not fork nfsiod directly from the vop methods. This causes LORs between
vnode lock and several locks needed during fork, like fd lock.

Instead, schedule the task to be executed in the taskqueue context. We
still waiting for the fork to finish, but the context of the thread
executing the task does not make real LORs with our vnode lock.

Submitted by: pluknet at gmail com
Reviewed by: jhb
Tested by: pho
MFC after: 3 weeks

Details

Provenance
kibAuthored on Sep 12 2010, 7:06 PM
Parents
rGab7d0151f9f4: In backup_kernel(), support backing up subdirectories and handle files
Branches
Unknown
Tags
Unknown

Event Timeline