lkml.org 
[lkml]   [2001]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [Kiobuf-io-devel] RFC: Kernel mechanism: Compound event wait
    Jens Axboe wrote:
    >
    > > Several kernel functions need a "dontblock" parameter (or a callback, or
    > > a waitqueue address, or a tq_struct pointer).
    >
    > We don't even need that, non-blocking is implicitly applied with READA.
    >
    READA just returns - I doubt that the aio functions should poll until
    there are free entries in the request queue.

    The pending aio requests should be "included" into the wait_for_requests
    waitqueue (ok, they don't have a process context, thus a wait queue
    entry doesn't help, but these requests belong into that wait queue)

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

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