SYNC_MAPPING_BUFFERS

Section: The Linux VFS (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

sync_mapping_buffers - write out & wait upon a mapping's lqassociatedrq buffers  

SYNOPSIS

int sync_mapping_buffers(struct address_space * mapping);
 

ARGUMENTS

mapping

the mapping which wants those buffers written
 

DESCRIPTION

Starts I/O against the buffers at mapping->private_list, and waits upon that I/O.

Basically, this is a convenience function for fsync. mapping is a file or directory which needs those buffers to be written for a successful fsync.  

COPYRIGHT