Module name: userfs
Committed by: thepooka
Date: Thu Oct 12 02:01:45 UTC 2006
Modified Files:
userfs/src/sys/miscfs/puffs: puffs.h puffs_vfsops.c puffs_vnops.c
Log Message:
rework root vnode handling: instead of holding on to it always,
let it go if need be and re-get one in puffs_root(). This moves
some complexity into puffs_root() but takes it out of puffs_unmount(),
where it is harder to handle due to more volatility with states.
The userspace never gets to know about root vnode reclaim, it is
destroyed only at unmount.
following cases work now:
/> umount /puffs -> ok
/puffs> umount /puffs -> busy
/puffs> umount -f /puffs -> ok
/> pkill dtfs -> ok unmount
/puffs> pkill dtfs -> ok unmount
per discussion with *the* Bill!
To generate a diff of this commit:
cvs -z3 rdiff -u -r1.15 -r1.16 userfs/src/sys/miscfs/puffs/puffs_vfsops.c
cvs -z3 rdiff -u -r1.19 -r1.20 userfs/src/sys/miscfs/puffs/puffs_vnops.c
cvs -z3 rdiff -u -r1.20 -r1.21 userfs/src/sys/miscfs/puffs/puffs.h
To view a diff of this commit:
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/userfs/src/sys/miscfs/puffs/puffs_vfsops.c?r1=1.15&r2=1.16
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/userfs/src/sys/miscfs/puffs/puffs_vnops.c?r1=1.19&r2=1.20
http://netbsd-soc.cvs.sourceforge.net/netbsd-soc/userfs/src/sys/miscfs/puffs/puffs.h?r1=1.20&r2=1.21
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NetBSD-SoC-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netbsd-soc-cvs