linux - Flushing the page cache associated with an inode -
I have modified the block mapping in an inode and want to flush the page cache associated with the inode so that the new insodes are new The mapping will load from the disk. Invalid non-pages truncate_inode_pages () - To flush dirty pages Invalid - Mapping_page () - To flash Some work is I found that the filemap_datawrite_wait function can be used to write dirty pages to disk and the updated page can be read in memory. - Bala