Rewrite posixaio back off comment to be closer to actual English
authorJens Axboe <jaxboe@fusionio.com>
Fri, 8 Jul 2011 06:33:37 +0000 (08:33 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 8 Jul 2011 06:33:37 +0000 (08:33 +0200)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
engines/posixaio.c

index 867b5f72862310197fc7e3e82bccf71cc14550bc..a84eb773f5a883356f5ea1891bf81da1e7749187 100644 (file)
@@ -186,7 +186,9 @@ static int fio_posixaio_queue(struct thread_data *td,
        if (ret) {
                /*
                 * At least OSX has a very low limit on the number of pending
-                * IOs, so if it will return EAGAIN.
+                * IOs, so if it returns EAGAIN, we are out of resources
+                * to queue more. Just return FIO_Q_BUSY to naturally
+                * drop off at this depth.
                 */
                if (errno == EAGAIN)
                        return FIO_Q_BUSY;