diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-08-06 14:53:23 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-11 08:33:32 -0400 |
commit | fca51d64c5baf64604bc1edc5c5f0e7ed176322f (patch) | |
tree | d9662eea84a8be4555bad3f12f5dd2cb26305302 /block | |
parent | 37867ae7c549c58d44337e27738577ed8b7cd753 (diff) |
block: fix comment in blk-iopoll.c
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-iopoll.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/block/blk-iopoll.c b/block/blk-iopoll.c index 0671d4614b0..b9b32652292 100644 --- a/block/blk-iopoll.c +++ b/block/blk-iopoll.c | |||
@@ -115,9 +115,12 @@ static void blk_iopoll_softirq(struct softirq_action *h) | |||
115 | 115 | ||
116 | local_irq_disable(); | 116 | local_irq_disable(); |
117 | 117 | ||
118 | /* Drivers must not modify the NAPI state if they | 118 | /* |
119 | * consume the entire weight. In such cases this code | 119 | * Drivers must not modify the iopoll state, if they |
120 | * still "owns" the NAPI instance and therefore can | 120 | * consume their assigned weight (or more, some drivers can't |
121 | * easily just stop processing, they have to complete an | ||
122 | * entire mask of commands).In such cases this code | ||
123 | * still "owns" the iopoll instance and therefore can | ||
121 | * move the instance around on the list at-will. | 124 | * move the instance around on the list at-will. |
122 | */ | 125 | */ |
123 | if (work >= weight) { | 126 | if (work >= weight) { |