Re: anticipation is killing me

From: Nick Piggin (piggin@cyberone.com.au)
Date: Mon Feb 24 2003 - 18:05:03 EST


Hugh Dickins wrote:

>With 2.5.62-mm3 (not -mm2) I need small patch to can_start_anticipation.
>I've not studied the code, this patch may be the worst nonsense; and if
>it's at all mysterious to you, sorry, I probably won't be able to give
>more info until tomorrow...
>
>Hugh
>
>--- 2.5.62-mm3/drivers/block/as-iosched.c Mon Feb 24 12:29:49 2003
>+++ linux/drivers/block/as-iosched.c Mon Feb 24 21:38:39 2003
>@@ -856,7 +856,8 @@
> */
> del_timer(&ad->antic_timer);
> ad->antic_status = ANTIC_FINISHED;
>- blk_remove_plug(arq->request->q);
>+ if (arq)
>+ blk_remove_plug(arq->request->q);
> schedule_work(&ad->antic_work);
> return 0;
> }
>
No that makes sense. We want to remove the plug even if
arq is null however so I'll have to pass it in I suppose.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:23 EST