Subject: re: NFS server buffer cache fix
To: None <bugs@openbsd.org>
From: None <rick@snowhite.cis.uoguelph.ca>
List: tech-kern
Date: 08/11/2002 21:01:27
Someone (Ian?) pointed out that reusing a cache entry that is still RC_INPROG
is a bad thing (which is definely true).

I've made a one line change to the suggested code to handle this, so, if
you plan on using the fix, grab the file called pub/nfs/nfs_srvcache.c.fixed
from snowhite.cis.uoguelph.ca. (ie. Don't use the diff -c.)

The change was just to add RC_INPROG to the flag bits that it tests when
looping through the lru list.

Have fun, rick