Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   pooka
Date:           Tue Oct  6 16:23:03 UTC 2009

Modified Files:
        src/lib/libp2k: p2k.c
        src/sys/rump/include/rump: rump.h
        src/sys/rump/librump/rumpvfs: rump_vfs.c

Log Message:
Give a p2k node an internal state.  This allows us to do proper
reference counting and not release nodes based just on puffs'
impression of if they are free.

This also allows us to reclaim vnodes already in inactive if the
file system so desires.  Some file systems, most notably ffs, change
file state already in inactive.  This could lead to a deadlock in
the middle of inactive and reclaim if some other puffs operation
was processed in between (as exposed by haad's open(at) test
program).

Also, properly thread the componentname from lookup to the actual
vnode operation.  This required the changes the rump componentname
routines.  Yes, the rename case is truly mindbogglingly disgusting.
Puke for yourself.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/lib/libp2k/p2k.c
cvs rdiff -u -r1.24 -r1.25 src/sys/rump/include/rump/rump.h
cvs rdiff -u -r1.26 -r1.27 src/sys/rump/librump/rumpvfs/rump_vfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index