Skip to contentSkip to conversation

+ aio-fix-io_getevents-documentation.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 14, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: + aio-fix-io_getevents-documentation.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 14 May 2013 12:39:38 -0700

The patch titled
Subject: aio: fix io_getevents documentation
has been added to the -mm tree. Its filename is
aio-fix-io_getevents-documentation.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Jeff Moyer <[email protected]>
Subject: aio: fix io_getevents documentation

In reviewing man pages, I noticed that io_getevents is documented to update the timeout that gets passed into the library call. This doesn't happen in kernel space or in the library (even though it's documented to do so in both places). Unless there is objection, I'd like to fix the comments/docs to match the code (I will also update the man page upon consensus).

---

 fs/aio.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
fs/aio.c renamed from fs/aio.c~aio-fix-io_getevents-documentation +1 -2
diff -puN fs/aio.c~aio-fix-io_getevents-documentation fs/aio.c
@@ -1299,8 +1299,7 @@ SYSCALL_DEFINE3(io_cancel, aio_context_t
  *	< min_nr if the timeout specified by timeout has elapsed
  *	before sufficient events are available, where timeout == NULL
  *	specifies an infinite timeout. Note that the timeout pointed to by
- *	timeout is relative and will be updated if not NULL and the
- *	operation blocks. Will fail with -ENOSYS if not implemented.
+ *	timeout is relative.  Will fail with -ENOSYS if not implemented.
  */
 SYSCALL_DEFINE5(io_getevents, aio_context_t, ctx_id,
 		long, min_nr,

_

Patches currently in -mm which might be from [email protected] are

aio-fix-io_getevents-documentation.patch
aio-reqs_active-reqs_available.patch
aio-percpu-reqs_available.patch
generic-dynamic-per-cpu-refcounting.patch
aio-percpu-ioctx-refcount.patch
aio-use-xchg-instead-of-completion_lock.patch
block-prep-work-for-batch-completion.patch
block-aio-batch-completion-for-bios-kiocbs.patch
virtio-blk-convert-to-batch-completion.patch
mtip32xx-convert-to-batch-completion.patch