On Thu, May 19, 2011 at 11:24:13AM -0400, Bryan Schumaker wrote: > On 05/18/2011 08:09 PM, J. Bruce Fields wrote: > > On Tue, May 17, 2011 at 12:51:10PM -0400, bjschuma@xxxxxxxxxx wrote: > >> +void nfsd_forget_all_state_owners(void) > >> +{ > >> + struct nfs4_stateowner *sop; > >> + struct list_head *pos, *next; > >> + int count = 0; > >> + > >> + nfs4_lock_state(); > >> + list_for_each_safe(pos, next, &close_lru) { > > > > Not all state owners are on the close_lru list--just open owners that > > have been closed and are waiting to be reaped. > > Ok. Is the file_hashtbl the right place to look for this? Probably stateid_hashtbl. --b. > I think I'm going to change the function so it only deletes open stateids. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html