OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / original / man2 / sync_file_range.2
index 18a4087..8a24c87 100644 (file)
@@ -27,7 +27,7 @@
 .\"     Andrew Morton's comments in fs/sync.c
 .\" 2010-10-09, mtk, Document sync_file_range2()
 .\"
-.TH SYNC_FILE_RANGE 2 2013-04-01 "Linux" "Linux Programmer's Manual"
+.TH SYNC_FILE_RANGE 2 2014-08-19 "Linux" "Linux Programmer's Manual"
 .SH NAME
 sync_file_range \- sync a file segment with disk
 .SH SYNOPSIS
@@ -89,11 +89,11 @@ Therefore, unless the application is strictly performing overwrites of
 already-instantiated disk blocks, there are no guarantees that the data will
 be available after a crash.
 There is no user interface to know if a write is purely an overwrite.
-On file systems using copy-on-write semantics (e.g.,
+On filesystems using copy-on-write semantics (e.g.,
 .IR btrfs )
 an overwrite of existing allocated blocks is impossible.
 When writing into preallocated space,
-many file systems also require calls into the block
+many filesystems also require calls into the block
 allocator, which this system call does not sync out to disk.
 This system call does not flush disk write caches and thus does not provide
 any data integrity on systems with volatile disk write caches.
@@ -181,6 +181,7 @@ appeared on Linux in kernel 2.6.17.
 This system call is Linux-specific, and should be avoided
 in portable programs.
 .SH NOTES
+.SS sync_file_range2()
 Some architectures (e.g., PowerPC, ARM)
 need 64-bit arguments to be aligned in a suitable pair of registers.
 .\" See kernel commit edd5cd4a9424f22b0fa08bef5e299d41befd5622
@@ -223,3 +224,12 @@ under the name
 .BR fsync (2),
 .BR msync (2),
 .BR sync (2)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.