Hi, On Tue, Aug 6, 2013 at 4:40 PM, Rajat Sharma <fs.rajat@xxxxxxxxx> wrote: >> I stumbled upon invalidate_inode_pages() - testing it right now. >> > > At the same time, following proc interface, I stumbled upon > invalidate_mapping_pages() to purge cache of desired inode. Try this > one if invalidate_inode_pages() does not work. > Tried invalidate_inode_pages() and it works. Also, invalidate_inode_pages() internally calls invalidate_inode_pages() so both should work :) Problem solved. Thanks. Regards. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies