summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2012-10-17 10:59:56 +0000
committeravg <avg@FreeBSD.org>2012-10-17 10:59:56 +0000
commitf16dd753c48f6804e09296920d7c405356699352 (patch)
treeac52eb44e69518fcc6a8e3b60743ca51ae3f8e46 /sys/netgraph
parent37fb264720fa1cee64ea4d2350f3ca0d2a8c55b6 (diff)
downloadFreeBSD-src-f16dd753c48f6804e09296920d7c405356699352.zip
FreeBSD-src-f16dd753c48f6804e09296920d7c405356699352.tar.gz
zfs: make use of getnewvnode_reserve in zfs_mknode and zfs_zget
getnewvnode_reserve helps to avoid "recursing" back into zfs code via getnewvnode when that latter needs to reclaim some vnodes. zfs code may hold a number of locks around getnewvnode and doesn't expect any recursion to happen on those locks, because that never happens in solaris. I believe that this change also eleiminates a need for the delayed znode destruction via the taskqueue. Many thanks to kib for devising getnewvnode_reserve. Reported by: flo Tested by: bapt, kwm, swills MFC after: 2 weeks X-MFC after: r241556
Diffstat (limited to 'sys/netgraph')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud