BLOCK_INVALIDATEPAGE

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

block_invalidatepage - invalidate part of all of a buffer-backed page  

SYNOPSIS

"SYNOPSIS"

int block_invalidatepage (struct page * page, unsigned long offset);  

ARGUMENTS

page
the page which is affected
offset
the index of the truncation point
 

DESCRIPTION

block_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.  

DESCRIPTION

block_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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:25 GMT, October 06, 2005