diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-08-06 20:50:48 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-08-06 20:50:48 +0200 |
commit | 1cdbb4e4cf72ce5283f110f0d8a4062b69ce5655 (patch) | |
tree | c89fdd75bad5c0312d0b9afa10a760db64ddd26a /block | |
parent | dbc5693fbac0768fa556375cddb26578981694e0 (diff) |
block: adjust default budget for blk-iopoll
It's not exported, I doubt we'll have a reason to change this...
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-iopoll.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/block/blk-iopoll.c b/block/blk-iopoll.c index df6f192c9f67..0671d4614b08 100644 --- a/block/blk-iopoll.c +++ b/block/blk-iopoll.c @@ -17,6 +17,8 @@ int blk_iopoll_enabled = 1; EXPORT_SYMBOL(blk_iopoll_enabled); +static unsigned int blk_iopoll_budget __read_mostly = 256; + static DEFINE_PER_CPU(struct list_head, blk_cpu_iopoll); /** @@ -78,8 +80,8 @@ EXPORT_SYMBOL(blk_iopoll_complete); static void blk_iopoll_softirq(struct softirq_action *h) { struct list_head *list = &__get_cpu_var(blk_cpu_iopoll); + int rearm = 0, budget = blk_iopoll_budget; unsigned long start_time = jiffies; - int rearm = 0, budget = 64; local_irq_disable(); |