DragonFly commits List (threaded) for 2004-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern src/sys/sys src/sys/vfs/nfs
dillon 2004/11/18 12:04:28 PST
DragonFly src repository
Modified files:
sys/kern vfs_cache.c vfs_default.c vfs_nlookup.c
vfs_subr.c
sys/sys namecache.h
sys/vfs/nfs nfs_nqlease.c nfs_socket.c
Log:
Cleanup some dangling issues with cache_inval(). A lot of hard work went
into guarenteeing that the namecache topology would remain connected, but
there were two cases (basically rmdir and rename-over-empty-target-dir)
which disconnected a portion of the hierarchy.
This fixes the remaining cases by having cache_inval() simply mark the
namecache entry as destroyed without actually disconnecting it from the
topology. The flag tells cache_nlookup() and ".." handlers that a node has
been destroyed and is no longer connected to any parent directory.
The new cache_inval() also now has the ability to mark an entire subhierarchy
as being unresolved, which can be a useful feature to have.
In-discussion-with: Richard Nyberg <rnyberg@xxxxxxxx>
Revision Changes Path
1.43 +75 -46 src/sys/kern/vfs_cache.c
1.23 +1 -1 src/sys/kern/vfs_default.c
1.8 +6 -0 src/sys/kern/vfs_nlookup.c
1.48 +1 -1 src/sys/kern/vfs_subr.c
1.16 +4 -3 src/sys/sys/namecache.h
1.21 +1 -1 src/sys/vfs/nfs/nfs_nqlease.c
1.22 +1 -1 src/sys/vfs/nfs/nfs_socket.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cache.c.diff?r1=1.42&r2=1.43&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_default.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_nlookup.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.47&r2=1.48&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/namecache.h.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_nqlease.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_socket.c.diff?r1=1.21&r2=1.22&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]