Re: [PATCH 1/3] iscsi iser: remove DMA restrictions

2008-02-14 Thread Mike Christie
James Bottomley wrote: On Tue, 2008-02-12 at 15:54 -0500, Pete Wyckoff wrote: iscsi_iser does not have any hardware DMA restrictions. Add a slave_configure function to remove any DMA alignment restriction, allowing the use of direct IO from arbitrary offsets within a page. Also disable page

Re: [PATCH 1/3] iscsi iser: remove DMA restrictions

2008-02-14 Thread Mike Christie
Mike Christie wrote: James Bottomley wrote: On Thu, 2008-02-14 at 11:56 -0600, Mike Christie wrote: You really don't want to do this. That signals to the block layer that we have an iommu, although it's practically the same thing as a 64 bit DMA mask ... but I'd just leave it to the DMA mask

Re: [PATCH 1/3] iscsi iser: remove DMA restrictions

2008-02-14 Thread James Bottomley
On Thu, 2008-02-14 at 11:56 -0600, Mike Christie wrote: You really don't want to do this. That signals to the block layer that we have an iommu, although it's practically the same thing as a 64 bit DMA mask ... but I'd just leave it to the DMA mask to set this up correctly. Anything else

Re: [PATCH 1/3] iscsi iser: remove DMA restrictions

2008-02-14 Thread Mike Christie
James Bottomley wrote: On Thu, 2008-02-14 at 11:56 -0600, Mike Christie wrote: You really don't want to do this. That signals to the block layer that we have an iommu, although it's practically the same thing as a 64 bit DMA mask ... but I'd just leave it to the DMA mask to set this up

Re: [PATCH 1/3] iscsi iser: remove DMA restrictions

2008-02-14 Thread Mike Christie
Mike Christie wrote: Mike Christie wrote: James Bottomley wrote: On Thu, 2008-02-14 at 11:56 -0600, Mike Christie wrote: You really don't want to do this. That signals to the block layer that we have an iommu, although it's practically the same thing as a 64 bit DMA mask ... but I'd just

Re: [PATCH 1/3] iscsi iser: remove DMA restrictions

2008-02-13 Thread Pete Wyckoff
[EMAIL PROTECTED] wrote on Tue, 12 Feb 2008 15:57 -0600: On Tue, 2008-02-12 at 16:46 -0500, Pete Wyckoff wrote: [EMAIL PROTECTED] wrote on Tue, 12 Feb 2008 15:10 -0600: On Tue, 2008-02-12 at 15:54 -0500, Pete Wyckoff wrote: iscsi_iser does not have any hardware DMA restrictions. Add a

Re: [PATCH 1/3] iscsi iser: remove DMA restrictions

2008-02-12 Thread Pete Wyckoff
[EMAIL PROTECTED] wrote on Tue, 12 Feb 2008 15:10 -0600: On Tue, 2008-02-12 at 15:54 -0500, Pete Wyckoff wrote: iscsi_iser does not have any hardware DMA restrictions. Add a slave_configure function to remove any DMA alignment restriction, allowing the use of direct IO from arbitrary

Re: [PATCH 1/3] iscsi iser: remove DMA restrictions

2008-02-12 Thread James Bottomley
On Tue, 2008-02-12 at 16:46 -0500, Pete Wyckoff wrote: [EMAIL PROTECTED] wrote on Tue, 12 Feb 2008 15:10 -0600: On Tue, 2008-02-12 at 15:54 -0500, Pete Wyckoff wrote: iscsi_iser does not have any hardware DMA restrictions. Add a slave_configure function to remove any DMA alignment

Re: [PATCH 1/3] iscsi iser: remove DMA restrictions

2008-02-12 Thread James Bottomley
On Tue, 2008-02-12 at 15:54 -0500, Pete Wyckoff wrote: iscsi_iser does not have any hardware DMA restrictions. Add a slave_configure function to remove any DMA alignment restriction, allowing the use of direct IO from arbitrary offsets within a page. Also disable page bouncing; iser has no