Query: mpage_writepages
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MPAGE_WRITEPAGES(9) The Linux VFS MPAGE_WRITEPAGES(9)NAMEmpage_writepages - walk the list of dirty pages of the given address space & writepage all of themSYNOPSISint mpage_writepages(struct address_space * mapping, struct writeback_control * wbc, get_block_t get_block);ARGUMENTSmapping address space structure to write wbc subtract the number of written pages from *wbc->nr_to_write get_block the filesystem's block mapper function. If this is NULL then use a_ops->writepage. Otherwise, go direct-to-BIO.DESCRIPTIONThis is a library function, which implements the writepages address_space_operation. If a page is already under I/O, generic_writepages skips it, even if it's dirty. This is desirable behaviour for memory-cleaning writeback, but it is INCORRECT for data-integrity system calls such as fsync. fsync and msync need to guarantee that all the data which was dirty at the time the call was made get new I/O started against them. If wbc->sync_mode is WB_SYNC_ALL then we were called for data integrity and we must wait for existing IO to complete.COPYRIGHTKernel Hackers Manual 2.6. July 2010 MPAGE_WRITEPAGES(9)
Related Man Pages |
---|
mpage_readpages(9) - suse |
arm_sync_file_range(2) - linux |
sync_file_range(2) - debian |
sync_file_range2(2) - centos |
sync_file_range(2) - suse |
Similar Topics in the Unix Linux Community |
---|
How to restrict user to a specific directory in solaris 10 |
Cut command on RHEL 6.8 compatibility issues |
Tar Command |
A (ksh) Library For and From UNIX.com |
Shopt -s histappend |