Query: truncate_inode_pages
OS: centos
Section: 9
Links: centos man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TRUNCATE_INODE_PAGES(9) Memory Management in Linux TRUNCATE_INODE_PAGES(9)NAMEtruncate_inode_pages - truncate *all* the pages from an offsetSYNOPSISvoid truncate_inode_pages(struct address_space * mapping, loff_t lstart);ARGUMENTSmapping mapping to truncate lstart offset from which to truncateDESCRIPTIONCalled under (and serialised by) inode->i_mutex.NOTEWhen this function returns, there can be a page in the process of deletion (inside __delete_from_page_cache) in the specified range. Thus mapping->nrpages can be non-zero when this function returns even after truncation of the whole mapping.COPYRIGHTKernel Hackers Manual 3.10 June 2014 TRUNCATE_INODE_PAGES(9)