Luis Henriques <lhenriques@xxxxxxx> wrote: > I've just done a quick experiment: moving the call to function > v9fs_cache_inode_put_cookie() in v9fs_evict_inode() to the beginning > (before truncate_inode_pages_final()) and it seems to, at least, narrow > the window -- I'm not able to reproduce the issue anymore. But I'll need > to look closer. The cookie needs to be relinquished after the pagecache has been cleared such that any outstanding writes have been dealt with as ->invalidatepage() may refer to the cookie in order to ditch references to pages. David