Blame SOURCES/1073718-mpo-7.1.0-open.2.patch

5a015b
From 4c8988667193cbd405eae05518425905db517626 Mon Sep 17 00:00:00 2001
5a015b
From: Jan Chaloupka <jchaloup@redhat.com>
5a015b
Date: Wed, 30 Jul 2014 17:35:04 +0200
5a015b
Subject: [PATCH] open.2
5a015b
5a015b
---
5a015b
 man-pages/man2/open.2 | 17 ++++++++++++-----
5a015b
 1 file changed, 12 insertions(+), 5 deletions(-)
5a015b
5a015b
diff --git a/man-pages/man2/open.2 b/man-pages/man2/open.2
5a015b
index 84331c6..6b25e7b 100644
5a015b
--- a/man-pages/man2/open.2
5a015b
+++ b/man-pages/man2/open.2
5a015b
@@ -875,10 +875,16 @@ for doing so, for example the
5a015b
 operation in
5a015b
 .BR xfsctl (3).
5a015b
 .LP
5a015b
-Under Linux 2.4, transfer sizes, and the alignment of the user buffer
5a015b
-and the file offset must all be multiples of the logical block size
5a015b
-of the file system.
5a015b
-Under Linux 2.6, alignment to 512-byte boundaries suffices.
5a015b
+Under  Linux  2.4, transfer sizes, and the alignment of the user buffer
5a015b
+and the file offset must all be multiples of the logical block size  of
5a015b
+the filesystem.  Since Linux 2.6.0, alignment to the logical block size
5a015b
+of the underlying storage (typically 512 bytes) suffices.  The  logical
5a015b
+block  size can be determined using the ioctl(2) BLKSSZGET operation or
5a015b
+from the shell using the command:
5a015b
+
5a015b
+.RS
5a015b
+.BR    blockdev " " --getss
5a015b
+.RE
5a015b
 .LP
5a015b
 .B O_DIRECT
5a015b
 I/Os should never be run concurrently with the
5a015b
@@ -1010,7 +1016,8 @@ to enable this flag.
5a015b
 .BR fopen (3),
5a015b
 .BR fifo (7),
5a015b
 .BR path_resolution (7),
5a015b
-.BR symlink (7)
5a015b
+.BR symlink (7),
5a015b
+.BR blockdev (8)
5a015b
 .SH COLOPHON
5a015b
 This page is part of release 3.53 of the Linux
5a015b
 .I man-pages
5a015b
-- 
5a015b
1.9.3
5a015b