lkml.org 
[lkml]   [2003]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: anticipation is killing me
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.022 / U:1.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site