]> git.baikalelectronics.ru Git - kernel.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)
commit8f6dcf68707e1e95c0dd7ea74595a7cdd791a063
tree704b148cdae6c4858decbaee07790357f2d75367
parente9d53dfe90239ec8b42a63976e0336c1eb5351bd
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