summaryrefslogtreecommitdiffstats
path: root/sys/fs/udf/osta.c
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2010-12-25 21:56:25 +0000
committerrmacklem <rmacklem@FreeBSD.org>2010-12-25 21:56:25 +0000
commit6847bfd5821deedbb259c4e8efe6ae27e39c2659 (patch)
tree258688215a96daa778719687986303676b1d8f6a /sys/fs/udf/osta.c
parent971b02b7bcce9c49f919797dcad7b646c206b7b6 (diff)
downloadFreeBSD-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/udf/osta.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud