Update io_u.c comments
authorJens Axboe <jens.axboe@oracle.com>
Tue, 20 Feb 2007 09:58:34 +0000 (10:58 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 20 Feb 2007 09:58:34 +0000 (10:58 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io_u.c

diff --git a/io_u.c b/io_u.c
index 6234c42b3a91b32305110f96e9e216472a9f537c..b8f090bd536a5b3d2077e191684b18f062425c7b 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -506,6 +506,9 @@ static void ios_completed(struct thread_data *td,
        }
 }
 
        }
 }
 
+/*
+ * Complete a single io_u for the sync engines.
+ */
 long io_u_sync_complete(struct thread_data *td, struct io_u *io_u,
                        endio_handler *handler)
 {
 long io_u_sync_complete(struct thread_data *td, struct io_u *io_u,
                        endio_handler *handler)
 {
@@ -521,6 +524,9 @@ long io_u_sync_complete(struct thread_data *td, struct io_u *io_u,
        return -1;
 }
 
        return -1;
 }
 
+/*
+ * Called to complete min_events number of io for the async engines.
+ */
 long io_u_queued_complete(struct thread_data *td, int min_events,
                          endio_handler *handler)
 
 long io_u_queued_complete(struct thread_data *td, int min_events,
                          endio_handler *handler)