Loading block/blk-iopoll.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -17,6 +17,8 @@ int blk_iopoll_enabled = 1; int blk_iopoll_enabled = 1; EXPORT_SYMBOL(blk_iopoll_enabled); EXPORT_SYMBOL(blk_iopoll_enabled); static unsigned int blk_iopoll_budget __read_mostly = 256; static DEFINE_PER_CPU(struct list_head, blk_cpu_iopoll); static DEFINE_PER_CPU(struct list_head, blk_cpu_iopoll); /** /** Loading Loading @@ -78,8 +80,8 @@ EXPORT_SYMBOL(blk_iopoll_complete); static void blk_iopoll_softirq(struct softirq_action *h) static void blk_iopoll_softirq(struct softirq_action *h) { { struct list_head *list = &__get_cpu_var(blk_cpu_iopoll); struct list_head *list = &__get_cpu_var(blk_cpu_iopoll); int rearm = 0, budget = blk_iopoll_budget; unsigned long start_time = jiffies; unsigned long start_time = jiffies; int rearm = 0, budget = 64; local_irq_disable(); local_irq_disable(); Loading Loading
block/blk-iopoll.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -17,6 +17,8 @@ int blk_iopoll_enabled = 1; int blk_iopoll_enabled = 1; EXPORT_SYMBOL(blk_iopoll_enabled); EXPORT_SYMBOL(blk_iopoll_enabled); static unsigned int blk_iopoll_budget __read_mostly = 256; static DEFINE_PER_CPU(struct list_head, blk_cpu_iopoll); static DEFINE_PER_CPU(struct list_head, blk_cpu_iopoll); /** /** Loading Loading @@ -78,8 +80,8 @@ EXPORT_SYMBOL(blk_iopoll_complete); static void blk_iopoll_softirq(struct softirq_action *h) static void blk_iopoll_softirq(struct softirq_action *h) { { struct list_head *list = &__get_cpu_var(blk_cpu_iopoll); struct list_head *list = &__get_cpu_var(blk_cpu_iopoll); int rearm = 0, budget = blk_iopoll_budget; unsigned long start_time = jiffies; unsigned long start_time = jiffies; int rearm = 0, budget = 64; local_irq_disable(); local_irq_disable(); Loading