lkml.org 
[lkml]   [2007]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -mm 3/10][RFC] aio: use iov_length instead of ki_left
    On 1/15/07, Christoph Hellwig <hch@infradead.org> wrote:
    > On Mon, Jan 15, 2007 at 05:54:50PM -0800, Nate Diller wrote:
    > > Convert code using iocb->ki_left to use the more generic iov_length() call.
    >
    > No way. We need to reduce the numer of iovec traversals, not adding
    > more of them.

    ok, I can work on a version of this that uses struct iodesc. Maybe
    something like this?

    struct iodesc {
    struct iovec *iov;
    unsigned long nr_segs;
    size_t nbytes;
    };

    I suppose it's worth doing the iodesc thing along with this patchset
    anyway, since it'll avoid an extra round of interface churn.

    NATE
    -
    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: 2007-01-16 07:09    [W:2.333 / U:0.236 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site