freebsd-nq/sys/isofs/cd9660
Alfred Perlstein 92e73f5711 I ran into an nfs client panic a couple of times in a row over the
last few days.  I tracked it down to the fact that nfs_reclaim()
is setting vp->v_data to NULL _before_ calling vnode_destroy_object().
After silence from the mailing list I checked further and discovered
that ufs_reclaim() is unique among FreeBSD filesystems for calling
vnode_destroy_object() early, long before tossing v_data or much
of anything else, for that matter.  The rest, including NFS, appear
to be identical, as if they were just clones of one original routine.

The enclosed patch fixes all file systems in essentially the same
way, by moving the call to vnode_destroy_object() to early in the
routine (before the call to vfs_hash_remove(), if any).  I have
only tested NFS, but I've now run for over eighteen hours with the
patch where I wouldn't get past four or five without it.

Submitted by: Frank Mayhar
Requested by: Mohan Srinivasan
MFC After: 1 week
2006-01-17 17:29:03 +00:00
..
cd9660_bmap.c Make VOP_BMAP return a struct bufobj for the underlying storage device 2004-11-15 09:18:27 +00:00
cd9660_iconv.c
cd9660_lookup.c Apply the same fix to a potential race in the ISDOTDOT code in 2005-10-16 21:41:54 +00:00
cd9660_mount.h /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
cd9660_node.c I ran into an nfs client panic a couple of times in a row over the 2006-01-17 17:29:03 +00:00
cd9660_node.h Remove inode fields previously used for private inode hash tables. 2005-03-16 08:09:52 +00:00
cd9660_rrip.c Remove "register" keyword and trailing white space. 2004-07-03 16:56:45 +00:00
cd9660_rrip.h Remove "register" keyword and trailing white space. 2004-07-03 16:56:45 +00:00
cd9660_util.c
cd9660_vfsops.c Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
cd9660_vnops.c Add marker vnodes to ensure that all vnodes associated with the mount point are 2006-01-09 20:42:19 +00:00
iso_rrip.h
iso.h Implement the full range of ISO9660 number conversion routines in iso.h. 2005-10-18 13:35:08 +00:00
TODO
TODO.hibler