Skip to contentSkip to conversation

AioContext: correct comments

PATCH In review Cao jin 3 participants 3 messages Jul 15, 2016 – Jul 18, 2016

lore
Share & tools
lore

Cao jin

author
#0 lore raw

PATCH 1/1 AioContext: correct comments

Correct comments of field notify_me

Cc Kevin Wolf <[email protected]>
Cc Max Reitz <[email protected]>
---
 include/block/aio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/block/aio.h +1 -1
index 0922b69..f89a1df 100644
@@ -71,7 +71,7 @@ struct AioContext {
      * event_notifier_set necessary.
      *
      * Bit 0 is reserved for GSource usage of the AioContext, and is 1
-     * between a call to aio_ctx_check and the next call to aio_ctx_dispatch.
+     * between a call to aio_ctx_prepare and the next call to aio_ctx_check.
      * Bits 1-31 simply count the number of active calls to aio_poll
      * that are in the prepare or poll phase.
      *
Signature · 1 line
2.1.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Cao jin

Correct comments of field notify_me

Cc Kevin Wolf <[email protected]>
Cc Max Reitz <[email protected]>
---
 include/block/aio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/block/aio.h +0 -0
index 0922b69..f89a1df 100644

include/block/aio.h struct AioContext { · line 77

Quoted 8 lines
include/block/aio.h +1 -1
@@ -71,7 +71,7 @@ struct AioContext {
      * event_notifier_set necessary.
      *
      * Bit 0 is reserved for GSource usage of the AioContext, and is 1
-     * between a call to aio_ctx_check and the next call to aio_ctx_dispatch.
+     * between a call to aio_ctx_prepare and the next call to aio_ctx_check.
      * Bits 1-31 simply count the number of active calls to aio_poll
      * that are in the prepare or poll phase.
      *

CC-ing Stefan and Fam, since I think this file should actually be under their maintainership (should we add it to MAINTAINERS?).

Max

Reviewed-by
#2 lore raw
Quoted 10 lines · Max Reitz
Quoted 9 lines · Cao jin

Correct comments of field notify_me

Cc Kevin Wolf <[email protected]>
Cc Max Reitz <[email protected]>
---
 include/block/aio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines

include/block/aio.h struct AioContext { · line 77

Quoted 13 lines
include/block/aio.h +1 -1
index 0922b69..f89a1df 100644
@@ -71,7 +71,7 @@ struct AioContext {
      * event_notifier_set necessary.
      *
      * Bit 0 is reserved for GSource usage of the AioContext, and is 1
-     * between a call to aio_ctx_check and the next call to aio_ctx_dispatch.
+     * between a call to aio_ctx_prepare and the next call to aio_ctx_check.
      * Bits 1-31 simply count the number of active calls to aio_poll
      * that are in the prepare or poll phase.
      *
Quoted 5 lines

CC-ing Stefan and Fam, since I think this file should actually be under their maintainership (should we add it to MAINTAINERS?).

Good idea, I'll send a patch for that. Thanks for bringing up.

Fam