Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161211
b: refs/heads/master
c: fca51d6
h: refs/heads/master
i:
  161209: d44e19f
  161207: 3bf6020
v: v3
  • Loading branch information
Jens Axboe committed Sep 11, 2009
1 parent 5e289ad commit 1cbb16d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37867ae7c549c58d44337e27738577ed8b7cd753
refs/heads/master: fca51d64c5baf64604bc1edc5c5f0e7ed176322f
9 changes: 6 additions & 3 deletions trunk/block/blk-iopoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1cbb16d

Please sign in to comment.