[Libsysio-commit] HEAD: libsysio/include inode.h
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2009-01-05 19:19:42
|
Update of /cvsroot/libsysio/libsysio/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv10773/include Modified Files: inode.h Log Message: We no longer reclaim i_nodes directly. Instead, as path-base nodes are released by the path node reclamation, the i-node is dismissed directly. It served no useful purpose to retain these beyond the life of the set of associated path-base nodes. As well, if PB_DEBUG is defined then a list of leaf path-base nodes is kept and reported when we are dbugging reclamation. Index: inode.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/inode.h,v retrieving revision 1.47 retrieving revision 1.48 diff -u -w -b -B -p -r1.47 -r1.48 --- inode.h 15 Dec 2008 19:55:54 -0000 1.47 +++ inode.h 5 Jan 2009 19:19:29 -0000 1.48 @@ -276,8 +276,8 @@ struct pnode_base { LIST_HEAD(, pnode_base) pb_children; /* children if a dir */ LIST_ENTRY(pnode_base) pb_sibs; /* links to siblings */ LIST_HEAD(, pnode) pb_aliases; /* aliases */ -#ifdef P_RECLAIM_DEBUG - TAILQ_ENTRY(pnode_base) pb_links; /* all pbnodes links */ +#ifdef PB_DEBUG + TAILQ_ENTRY(pnode_base) pb_links; /* leaf pbnodes links */ #endif }; |