lkml.org 
[lkml]   [2004]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: blk_congestion_wait racy?
    Nick Piggin <piggin@cyberone.com.au> wrote:
    >
    > But I'm guessing that you have no requests in flight by the time
    > blk_congestion_wait gets called, so nothing ever gets kicked.

    That's why blk_congestion_wait() in -mm propagates the schedule_timeout()
    return value. You can do:

    if (blk_congestion_wait(...))
    printk("ouch\n");

    If your kernel says ouch much, we have a problem.
    -
    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 14:01    [W:0.018 / U:31.336 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site