Man Page: truncate_pagecache_range
Operating Environment: centos
Section: 9
TRUNCATE_PAGECACHE_R(9) Memory Management in Linux TRUNCATE_PAGECACHE_R(9)NAMEtruncate_pagecache_range - unmap and remove pagecache that is hole-punchedSYNOPSISvoid truncate_pagecache_range(struct inode * inode, loff_t lstart, loff_t lend);ARGUMENTSinode inode lstart offset of beginning of hole lend offset of last byte of holeDESCRIPTIONThis function should typically be called before the filesystem releases resources associated with the freed range (eg. deallocates blocks). This way, pagecache will always stay logically coherent with on-disk format, and the filesystem would not have to deal with situations such as writepage being called for a page that has already had its underlying blocks deallocated.COPYRIGHTKernel Hackers Manual 3.10 June 2014 TRUNCATE_PAGECACHE_R(9)
| Related Man Pages |
|---|
| mpage_readpages(9) - centos |
| clri(8) - opendarwin |
| fallocate(1) - v7 |
| fallocate(1) - posix |
| fallocate(1) - ultrix |
| Similar Topics in the Unix Linux Community |
|---|
| Is UNIX an open source OS ? |
| Set hard block limit for user using quota |
| Unsure why access time on a directory change isn't changing |
| Controlling user input |
| [TIP] Processing YAML files with yq |