NTFS_WRITE_BLOCK

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

 

NAME

ntfs_write_block - write a page to the backing store  

SYNOPSIS

"SYNOPSIS"

int ntfs_write_block (struct page * page);  

ARGUMENTS

page
page cache page to write out
 

DESCRIPTION

This function is for writing pages belonging to non-resident, non-mst protected attributes to their backing store.

For a page with buffers, map and write the dirty buffers asynchronously under page writeback. For a page without buffers, create buffers for the page, then proceed as above.

If a page doesn't have buffers the page dirty state is definitive. If a page does have buffers, the page dirty state is just a hint, and the buffer dirty state is definitive. (A hint which has rules: dirty buffers against a clean page is illegal. Other combinations are legal and need to be handled. In particular a dirty page containing clean buffers for example.)

Return 0 on success and -errno on error.

Based on ntfs_read_block and __block_write_full_page.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 07:07:20 GMT, October 06, 2005