lkml.org 
[lkml]   [2002]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: patch: aio + bio for raw io
    On Fri, Feb 08 2002, Benjamin LaHaise wrote:
    > > And also, currently BIO_MAX_SIZE is only 64K. Infact, if I try to issue
    > > 64K IO using submit_bio(), I get following BUG() on my QLOGIC controller.
    >
    > Jens? Also, why does the bio callback return a value? Nothing could ever
    > possibly use it as far as I can see.

    WRT max size, Linus already replied why this is so. The other thing --
    the callback return value was really to have it return 'done or not'
    when doing partial completions. It was later decided that the end_io
    callback should only be called for final completion, so really the
    nr_sectors and return value is not used now. I'll clean that up next
    time around.

    --
    Jens Axboe

    -
    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:24    [W:0.024 / U:122.716 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site