Re: block layer copying user io vectors

2015-02-02 Thread Christoph Hellwig
On Fri, Jan 30, 2015 at 05:43:04PM +, Andy Falanga (afalanga) wrote: > > > This function does something that seems rather strange. On line 859, > > > a for loop determines the number of pages needed for the copying of > > > the user data to kernel space. Then the memory is allocated (line >

Re: block layer copying user io vectors

2015-02-02 Thread Christoph Hellwig
On Fri, Jan 30, 2015 at 05:43:04PM +, Andy Falanga (afalanga) wrote: This function does something that seems rather strange. On line 859, a for loop determines the number of pages needed for the copying of the user data to kernel space. Then the memory is allocated (line 886

RE: block layer copying user io vectors

2015-01-30 Thread Andy Falanga (afalanga)
> > This function does something that seems rather strange. On line 859, > > a for loop determines the number of pages needed for the copying of > > the user data to kernel space. Then the memory is allocated (line > > 886 bio_kmalloc()). Then, strangely, on line 895, there is this > >

RE: block layer copying user io vectors

2015-01-30 Thread Andy Falanga (afalanga)
This function does something that seems rather strange. On line 859, a for loop determines the number of pages needed for the copying of the user data to kernel space. Then the memory is allocated (line 886 bio_kmalloc()). Then, strangely, on line 895, there is this conditional:

Re: block layer copying user io vectors

2015-01-23 Thread Christoph Hellwig
On Thu, Jan 22, 2015 at 09:33:08PM +, Andy Falanga (afalanga) wrote: > Please CC me directly. > > I am working in kernel 2.6.32 (CentOS 6). To increase the upper limit > of sg from 4mb to at least 128mb in a single SCSI command. At first I > thought this issue was in sg, but have tracked

Re: block layer copying user io vectors

2015-01-23 Thread Christoph Hellwig
On Thu, Jan 22, 2015 at 09:33:08PM +, Andy Falanga (afalanga) wrote: Please CC me directly. I am working in kernel 2.6.32 (CentOS 6). To increase the upper limit of sg from 4mb to at least 128mb in a single SCSI command. At first I thought this issue was in sg, but have tracked the

block layer copying user io vectors

2015-01-22 Thread Andy Falanga (afalanga)
Please CC me directly. I am working in kernel 2.6.32 (CentOS 6). To increase the upper limit of sg from 4mb to at least 128mb in a single SCSI command. At first I thought this issue was in sg, but have tracked the issue to the block layer. Thinking I could solve this issue by using

block layer copying user io vectors

2015-01-22 Thread Andy Falanga (afalanga)
Please CC me directly. I am working in kernel 2.6.32 (CentOS 6). To increase the upper limit of sg from 4mb to at least 128mb in a single SCSI command. At first I thought this issue was in sg, but have tracked the issue to the block layer. Thinking I could solve this issue by using