kernel - Remove remaining mplock use cases from tmpfs
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 21 Feb 2013 05:07:00 +0000 (21:07 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 21 Feb 2013 05:07:00 +0000 (21:07 -0800)
commitaa1adbf0f3aad9f5b7161d3c66ddad5313a5692d
tree019fe63b4659b8aa394341ca19672e0330b14568
parent9770e26ec6c17053f88d5b7a4b0c6c73974811e1
kernel - Remove remaining mplock use cases from tmpfs

* Use the per-mount lock for remaining cases, including nremove,
  truncate, and other operations.

* Also fixes machine stalls against pings when removing very
  large files.

Submitted-by: vsrinivas
sys/net/ipfw/ip_fw2.c
sys/vfs/tmpfs/tmpfs.h
sys/vfs/tmpfs/tmpfs_subr.c
sys/vfs/tmpfs/tmpfs_vfsops.c
sys/vfs/tmpfs/tmpfs_vnops.c