NetBSD/sys/fs
pooka 6ffefad6ef Fix a problem introduced when I converted puffs to use newlock2:
when unmounting the file system in case of a certain timing (and
possibly some other conditions), a thread would wait on a condition
variable, while another thread broadcast the cv and immediately
proceeded to destroy it.  The result was a system frozen completely
solid shorly after the process waiting for the cv woke up.  So
introduce reference counting to synchronize destruction of the
resources in unmount.

I was able to repeat the problem only on my laptop in some special
cases, so I do not know how common it was.  Ironically, killing
the file server process violently instead of unmount() didn't have
this problem because it never entered the unmount path from two
directions.
2007-05-01 12:18:40 +00:00
..
adosfs Pass an ipl argument to pool_init/POOL_INIT to be used when initializing 2007-03-13 01:34:21 +00:00
cd9660 Pass an ipl argument to pool_init/POOL_INIT to be used when initializing 2007-03-12 18:18:22 +00:00
filecorefs filecore_mountfs: Remove the dead code - fcmp cannot be non-zero here. 2007-04-04 02:00:58 +00:00
hfs Add support for HFS Wrapper (HFS+ volume inside an HFS volume). 2007-03-22 13:21:28 +00:00
msdosfs fix typos 2007-04-29 20:23:34 +00:00
ntfs Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
ptyfs only change atime on access. 2007-01-19 20:10:36 +00:00
puffs Fix a problem introduced when I converted puffs to use newlock2: 2007-05-01 12:18:40 +00:00
smbfs hold proclist_mutex when calling psignal(). 2007-04-19 11:05:14 +00:00
sysvbfs Pass an ipl argument to pool_init/POOL_INIT to be used when initializing 2007-03-20 11:27:48 +00:00
tmpfs Pass an ipl argument to pool_init/POOL_INIT to be used when initializing 2007-03-12 18:18:22 +00:00
udf fix typos 2007-04-29 20:23:34 +00:00
union define a pager flag PGO_RECLAIM, similar to FSYNC_RECLAIM, and use it 2007-04-16 05:14:54 +00:00
Makefile Complete rename of hfsp to hfs, requested by thorpej. 2007-03-06 11:28:44 +00:00
unicode.h -add __unused declarations to make it possible to use only half of it 2007-02-26 12:33:08 +00:00