]> git.karo-electronics.de Git - linux-beck.git/commit
nfsd: always move DRC entries to the end of LRU list when updating timestamp
authorJeff Layton <jlayton@redhat.com>
Mon, 4 Feb 2013 13:18:00 +0000 (08:18 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 4 Feb 2013 22:19:09 +0000 (17:19 -0500)
commit56c2548b2d24de440868885e4c36c985eca2d083
tree704b148cdae6c4858decbaee07790357f2d75367
parent2eeb9b2abc83a7fd02063c7558b8e729f5a3ae00
nfsd: always move DRC entries to the end of LRU list when updating timestamp

...otherwise, we end up with the list ordering wrong. Currently, it's
not a problem since we skip RC_INPROG entries, but keeping the ordering
strict will be necessary for a later patch that adds a cache cleaner.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfscache.c