Re: [PATCH] restructure sock_aio_{read,write} / sock_{readv,writev}

2005-12-22 Thread David S. Miller
From: Christoph Hellwig <[EMAIL PROTECTED]> Date: Thu, 22 Dec 2005 21:53:25 +0100 > On Tue, Dec 13, 2005 at 07:29:36PM +0100, Christoph Hellwig wrote: > > Mid-term I plan to restructure the file_operations so that we don't need > > to have all these duplicate aio and vectored versions. This patch

Re: [PATCH] restructure sock_aio_{read,write} / sock_{readv,writev}

2005-12-22 Thread Christoph Hellwig
On Tue, Dec 13, 2005 at 07:29:36PM +0100, Christoph Hellwig wrote: > Mid-term I plan to restructure the file_operations so that we don't need > to have all these duplicate aio and vectored versions. This patch is > a small step in that direction but also a worthwile cleanup on it's own: > > (1) i

Re: [PATCH] restructure sock_aio_{read,write} / sock_{readv,writev}

2005-12-13 Thread Arnaldo Carvalho de Melo
On 12/13/05, Benjamin LaHaise <[EMAIL PROTECTED]> wrote: > Hello Christoph, > > On Tue, Dec 13, 2005 at 07:29:36PM +0100, Christoph Hellwig wrote: > > Mid-term I plan to restructure the file_operations so that we don't need > > to have all these duplicate aio and vectored versions. This patch is >

Re: [PATCH] restructure sock_aio_{read,write} / sock_{readv,writev}

2005-12-13 Thread Christoph Hellwig
On Tue, Dec 13, 2005 at 01:43:23PM -0500, Benjamin LaHaise wrote: > Hello Christoph, > > On Tue, Dec 13, 2005 at 07:29:36PM +0100, Christoph Hellwig wrote: > > Mid-term I plan to restructure the file_operations so that we don't need > > to have all these duplicate aio and vectored versions. This

Re: [PATCH] restructure sock_aio_{read,write} / sock_{readv,writev}

2005-12-13 Thread Benjamin LaHaise
Hello Christoph, On Tue, Dec 13, 2005 at 07:29:36PM +0100, Christoph Hellwig wrote: > Mid-term I plan to restructure the file_operations so that we don't need > to have all these duplicate aio and vectored versions. This patch is > a small step in that direction but also a worthwile cleanup on it

[PATCH] restructure sock_aio_{read,write} / sock_{readv,writev}

2005-12-13 Thread Christoph Hellwig
Mid-term I plan to restructure the file_operations so that we don't need to have all these duplicate aio and vectored versions. This patch is a small step in that direction but also a worthwile cleanup on it's own: (1) introduce a alloc_sock_iocb helper that encapsulates allocating a proper s