Re: [PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-14 Thread Mike Christie
Mike Christie wrote: > Peter Zijlstra wrote: >> On Thu, 2006-09-14 at 22:35 +0200, Peter Zijlstra wrote: >>> On Thu, 2006-09-14 at 14:22 -0500, Mike Christie wrote: > I thought I found allocations in that path, lemme search... > found this: > > iscsi_tcp_data_recv() > iscsi_da

Re: [PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-14 Thread Peter Zijlstra
On Thu, 2006-09-14 at 16:03 -0500, Mike Christie wrote: > Mike Christie wrote: > > Peter Zijlstra wrote: > >> On Thu, 2006-09-14 at 14:22 -0500, Mike Christie wrote: > >>> Peter Zijlstra wrote: > On Wed, 2006-09-13 at 15:50 -0500, Mike Christie wrote: > > Peter Zijlstra wrote: > >> Imp

Re: [PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-14 Thread Mike Christie
Peter Zijlstra wrote: > On Thu, 2006-09-14 at 22:35 +0200, Peter Zijlstra wrote: >> On Thu, 2006-09-14 at 14:22 -0500, Mike Christie wrote: > I thought I found allocations in that path, lemme search... found this: iscsi_tcp_data_recv() iscsi_data_rescv() iscsi_c

Re: [PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-14 Thread Mike Christie
Peter Zijlstra wrote: > On Thu, 2006-09-14 at 14:22 -0500, Mike Christie wrote: >> Peter Zijlstra wrote: >>> On Wed, 2006-09-13 at 15:50 -0500, Mike Christie wrote: Peter Zijlstra wrote: > Implement sht->swapdev() for iSCSI. This method takes care of reserving > the extra memory needed

Re: [PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-14 Thread Mike Christie
Mike Christie wrote: > Peter Zijlstra wrote: >> On Thu, 2006-09-14 at 14:22 -0500, Mike Christie wrote: >>> Peter Zijlstra wrote: On Wed, 2006-09-13 at 15:50 -0500, Mike Christie wrote: > Peter Zijlstra wrote: >> Implement sht->swapdev() for iSCSI. This method takes care of reserving >

Re: [PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-14 Thread Peter Zijlstra
On Thu, 2006-09-14 at 22:35 +0200, Peter Zijlstra wrote: > On Thu, 2006-09-14 at 14:22 -0500, Mike Christie wrote: > > > I thought I found allocations in that path, lemme search... > > > found this: > > > > > > iscsi_tcp_data_recv() > > > iscsi_data_rescv() > > > iscsi_complete_pdu() > > >

Re: [PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-14 Thread Peter Zijlstra
On Thu, 2006-09-14 at 14:22 -0500, Mike Christie wrote: > Peter Zijlstra wrote: > > On Wed, 2006-09-13 at 15:50 -0500, Mike Christie wrote: > >> Peter Zijlstra wrote: > >>> Implement sht->swapdev() for iSCSI. This method takes care of reserving > >>> the extra memory needed and marking all relevant

Re: [PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-14 Thread Mike Christie
Peter Zijlstra wrote: > On Wed, 2006-09-13 at 15:50 -0500, Mike Christie wrote: >> Peter Zijlstra wrote: >>> Implement sht->swapdev() for iSCSI. This method takes care of reserving >>> the extra memory needed and marking all relevant sockets with SOCK_VMIO. >>> >>> When used for swapping, TCP socke

Re: [PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-13 Thread Peter Zijlstra
On Wed, 2006-09-13 at 15:50 -0500, Mike Christie wrote: > Peter Zijlstra wrote: > > Implement sht->swapdev() for iSCSI. This method takes care of reserving > > the extra memory needed and marking all relevant sockets with SOCK_VMIO. > > > > When used for swapping, TCP socket creation is done under

Re: [PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-13 Thread Mike Christie
Peter Zijlstra wrote: > Implement sht->swapdev() for iSCSI. This method takes care of reserving > the extra memory needed and marking all relevant sockets with SOCK_VMIO. > > When used for swapping, TCP socket creation is done under GFP_MEMALLOC and > the TCP connect is done with SOCK_VMIO to ensu

[PATCH 20/20] iscsi: support for swapping over iSCSI.

2006-09-12 Thread Peter Zijlstra
Implement sht->swapdev() for iSCSI. This method takes care of reserving the extra memory needed and marking all relevant sockets with SOCK_VMIO. When used for swapping, TCP socket creation is done under GFP_MEMALLOC and the TCP connect is done with SOCK_VMIO to ensure their success. Also the netli