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

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