freebsd-skq/sys/cddl
Andriy Gapon edb085b8ab 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
2012-10-17 10:59:56 +00:00
..
boot/zfs forgotten file from r240346 2012-09-11 08:45:49 +00:00
compat/opensolaris Add TRIM support. 2012-09-23 19:40:58 +00:00
contrib/opensolaris zfs: make use of getnewvnode_reserve in zfs_mknode and zfs_zget 2012-10-17 10:59:56 +00:00
dev Change UL to ULL since time is 32 bits. 2012-07-17 14:36:40 +00:00