mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
NFS: Don't revalidate the mapping if both size and change attr are up to date
commit85a23cee3fupstream. If we've ensured that the size and the change attribute are both correct, then there is no point in marking those attributes as needing revalidation again. Only do so if we know the size is incorrect and was not updated. Fixes:f2467b6f64("NFS: Clear NFS_INO_REVAL_PAGECACHE when...") Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> [ luis: backported to 3.16: - use 'nfsi->npages' instead of 'nfsi->nrequests' ] Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
766fd39982
commit
6affaeba01
1 changed files with 4 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue