From 7ce14e4094235a1021ada67198c8183eb2d41bbe Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 29 May 2008 07:55:33 +0000 Subject: [PATCH] Remove statement that (SYNC_FILE_RANGE_WAIT_BEFORE | SYNC_FILE_RANGE_WRITE | SYNC_FILE_RANGE_WAIT_AFTER) is a traditional fdatasync(2) operation. See https://bugzilla.mozilla.org/show_bug.cgi?id=421482 comments 129 to 131. --- man2/sync_file_range.2 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/man2/sync_file_range.2 b/man2/sync_file_range.2 index 5f7338e04..112658ac9 100644 --- a/man2/sync_file_range.2 +++ b/man2/sync_file_range.2 @@ -26,7 +26,7 @@ .\" 2006-07-05 Initial creation, Michael Kerrisk based on .\" Andrew Morton's comments in fs/sync.c .\" -.TH SYNC_FILE_RANGE 2 2006-07-05 "Linux" "Linux Programmer's Manual" +.TH SYNC_FILE_RANGE 2 2008-05-27 "Linux" "Linux Programmer's Manual" .SH NAME sync_file_range \- sync a file segment with disk .SH SYNOPSIS @@ -118,11 +118,9 @@ This can be used after an earlier .B SYNC_FILE_RANGE_WAIT_BEFORE | SYNC_FILE_RANGE_WRITE operation to wait for completion of that operation, and obtain its result. .TP -.B SYNC_FILE_RANGE_WAIT_BEFORE | SYNC_FILE_RANGE_WRITE | SYNC_FILE_RANGE_WAIT_AFTER -This is a traditional -.BR fdatasync (2) -operation. -It is a write-for-data-integrity operation +.B SYNC_FILE_RANGE_WAIT_BEFORE | SYNC_FILE_RANGE_WRITE | \ +SYNC_FILE_RANGE_WAIT_AFTER +This is a write-for-data-integrity operation that will ensure that all pages in the specified range which were dirty when .BR sync_file_range () was called are committed to disk.