Name

sync_mapping_buffers — write out & wait upon a mapping's associated buffers

Synopsis

int sync_mapping_buffers (struct address_space * mapping);
 

Arguments

struct address_space * 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.