Query: write_cache_pages
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WRITE_CACHE_PAGES(9) Memory Management in Linux WRITE_CACHE_PAGES(9)NAMEwrite_cache_pages - walk the list of dirty pages of the given address space and write all of them.SYNOPSISint write_cache_pages(struct address_space * mapping, struct writeback_control * wbc, writepage_t writepage, void * data);ARGUMENTSmapping address space structure to write wbc subtract the number of written pages from *wbc->nr_to_write writepage function called for each page data data passed to writepage functionDESCRIPTIONIf a page is already under I/O, write_cache_pages 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 WRITE_CACHE_PAGES(9)
Related Man Pages |
---|
arm_sync_file_range(2) - linux |
sync_file_range(2) - linux |
sync_file_range2(2) - linux |
write_cache_pages(9) - centos |
sync_file_range(2) - php |
Similar Topics in the Unix Linux Community |
---|
How to restrict user to a specific directory in solaris 10 |
Getting command output to putty window title. |
Migrating to UNIX |
Cut command on RHEL 6.8 compatibility issues |
Shopt -s histappend |