diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-07 17:26:10 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-08 19:22:40 (GMT) |
commit | 2aac05a91971fbd1bf6cbed78b8731eb7454b9b7 (patch) | |
tree | 1bbbb13b7e4353bc729363582eef95925c523b7b /virt | |
parent | 9c0fc4e28b57c5a6da7b58d60f71476c64d457a6 (diff) | |
download | linux-fsl-qoriq-2aac05a91971fbd1bf6cbed78b8731eb7454b9b7.tar.xz |
NFS: Fix readdir cache invalidation
invalidate_inode_pages2_range() takes page offset arguments, not byte
ranges.
Another thought is that individual pages might perhaps get evicted by VM
pressure, in which case we might perhaps want to re-read not only the
evicted page, but all subsequent pages too (in case the server returns
more/less data per page so that the alignment of the next entry
changes). We should therefore remove the condition that we only do this on
page->index==0.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions