• T
    NFS: Fix readdir cache invalidation · 2aac05a9
    Trond Myklebust 提交于
    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: NTrond Myklebust <Trond.Myklebust@netapp.com>
    2aac05a9
dir.c 52.0 KB