diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2010-12-25 21:56:25 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2010-12-25 21:56:25 +0000 |
commit | 6847bfd5821deedbb259c4e8efe6ae27e39c2659 (patch) | |
tree | 258688215a96daa778719687986303676b1d8f6a /sys/fs/fifofs | |
parent | 971b02b7bcce9c49f919797dcad7b646c206b7b6 (diff) | |
download | FreeBSD-src-6847bfd5821deedbb259c4e8efe6ae27e39c2659.zip FreeBSD-src-6847bfd5821deedbb259c4e8efe6ae27e39c2659.tar.gz |
Modify the experimental NFS server so that it uses LK_SHARED
for RPC operations when it can. Since VFS_FHTOVP() currently
always gets an exclusively locked vnode and is usually called
at the beginning of each RPC, the RPCs for a given vnode will
still be serialized. As such, passing a lock type argument to
VFS_FHTOVP() would be preferable to doing the vn_lock() with
LK_DOWNGRADE after the VFS_FHTOVP() call.
Reviewed by: kib
MFC after: 2 weeks
Diffstat (limited to 'sys/fs/fifofs')
0 files changed, 0 insertions, 0 deletions