[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5c49b0ed0701152137s52e8f2c8sc93ea3a073e17e1c@mail.gmail.com>
Date: Mon, 15 Jan 2007 21:37:31 -0800
From: "Nate Diller" <nate.diller@...il.com>
To: "Christoph Hellwig" <hch@...radead.org>,
"Nate Diller" <nate@...mi.com>,
"Nate Diller" <nate.diller@...il.com>,
"Andrew Morton" <akpm@...l.org>,
"Alan Cox" <alan@...rguk.ukuu.org.uk>,
"Trond Myklebust" <trond.myklebust@....uio.no>,
"Benjamin LaHaise" <bcrl@...ck.org>,
"Alexander Viro" <viro@...iv.linux.org.uk>,
"Suparna Bhattacharya" <suparna@...ibm.com>,
"Kenneth W Chen" <kenneth.w.chen@...el.com>,
"David Brownell" <dbrownell@...rs.sourceforge.net>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
netdev@...r.kernel.org, ocfs2-devel@....oracle.com,
linux-aio@...ck.org, xfs-masters@....sgi.com
Subject: Re: [PATCH -mm 3/10][RFC] aio: use iov_length instead of ki_left
On 1/15/07, Christoph Hellwig <hch@...radead.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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists