Skip to content

Commit

Permalink
block: adjust default budget for blk-iopoll
Browse files Browse the repository at this point in the history
It's not exported, I doubt we'll have a reason to change this...

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Jens Axboe committed Sep 11, 2009
1 parent 1badcfb commit 37867ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion block/blk-iopoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 37867ae

Please sign in to comment.