block: fix comment in blk-iopoll.c
authorJens Axboe <jens.axboe@oracle.com>
Thu, 6 Aug 2009 18:53:23 +0000 (20:53 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 11 Sep 2009 12:33:32 +0000 (14:33 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-iopoll.c

index 0671d4614b08168be42c2a9c3144e1f8c25e334e..b9b32652292c101bb86b80d28d8c7d9461309b33 100644 (file)
@@ -115,9 +115,12 @@ static void blk_iopoll_softirq(struct softirq_action *h)
 
                local_irq_disable();
 
-               /* Drivers must not modify the NAPI state if they
-                * consume the entire weight.  In such cases this code
-                * still "owns" the NAPI instance and therefore can
+               /*
+                * Drivers must not modify the iopoll state, if they
+                * consume their assigned weight (or more, some drivers can't
+                * easily just stop processing, they have to complete an
+                * entire mask of commands).In such cases this code
+                * still "owns" the iopoll instance and therefore can
                 * move the instance around on the list at-will.
                 */
                if (work >= weight) {