Query: block_invalidatepage
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLOCK_INVALIDATEPAGE(9) The Linux VFS BLOCK_INVALIDATEPAGE(9)NAMEblock_invalidatepage - invalidate part of all of a buffer-backed pageSYNOPSISvoid block_invalidatepage(struct page * page, unsigned long offset);ARGUMENTSpage the page which is affected offset the index of the truncation pointDESCRIPTIONblock_invalidatepage is called when all or part of the page has become invalidatedby a truncate operation. block_invalidatepage does not have to release all buffers, but it must ensure that no dirty buffer is left outside offset and that no I/O is underway against any of the blocks which are outside the truncation point. Because the caller is about to free (and possibly reuse) those blocks on-disk.COPYRIGHTKernel Hackers Manual 2.6. July 2010 BLOCK_INVALIDATEPAGE(9)