linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gregory P. Smith" <gps-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: PATCH: readahead(2) man page incorrectly states that it blocks
Date: Thu, 7 Jan 2010 16:51:47 -0800	[thread overview]
Message-ID: <8bf6f5a21001071651s6fa4bcf3q4eae23ba628fb609@mail.gmail.com> (raw)

Patch below.

This was reported on the mailing list several months ago by Corrado Zoccolo:

 http://www.spinics.net/lists/linux-man/msg00961.html

diff --git a/man2/readahead.2 b/man2/readahead.2
index 886b22a..a07bcbe 100644
--- a/man2/readahead.2
+++ b/man2/readahead.2
@@ -58,7 +58,9 @@ equal to
 .BR readahead ()
 does not read beyond the end of the file.
 .BR readahead ()
-blocks until the specified data has been read.
+is asynchronous and returns immediately.
+The next system call reading from the file descriptor
+will block until data is available.
 The current file offset of the open file referred to by
 .I fd
 is left unchanged.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2010-01-08  0:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8bf6f5a21001071651s6fa4bcf3q4eae23ba628fb609@mail.gmail.com \
    --to=gps-hpiqsd4aklfqt0dzr+alfa@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).