Re: block: remove artifical max_hw_sectors cap

2015-01-07 Thread Christoph Hellwig
On Wed, Jan 07, 2015 at 03:32:41PM +0100, Stefan Priebe - Profihost AG wrote: > > If I understand Stefan correct he was using a recent 3.19-rc kernel, > > which contains my commit in the subject that stops capping the > > max_sectors used by the kernel below that which the hardware supports. > > >

Re: block: remove artifical max_hw_sectors cap

2015-01-07 Thread Stefan Priebe - Profihost AG
Am 07.01.2015 um 15:31 schrieb Christoph Hellwig: > On Tue, Jan 06, 2015 at 02:39:16PM -0800, Nicholas A. Bellinger wrote: >> The fabric_max_sectors=8192 value is already being exposed by target in >> block limits EVPD as MAXIMUM TRANSFER LENGTH. >> >> I'm guessing that since the host side support

Re: block: remove artifical max_hw_sectors cap

2015-01-07 Thread Christoph Hellwig
On Tue, Jan 06, 2015 at 02:39:16PM -0800, Nicholas A. Bellinger wrote: > The fabric_max_sectors=8192 value is already being exposed by target in > block limits EVPD as MAXIMUM TRANSFER LENGTH. > > I'm guessing that since the host side support was not added until June > 2014 in commit bcdb247c by M

Re: block: remove artifical max_hw_sectors cap

2015-01-06 Thread Nicholas A. Bellinger
On Tue, 2015-01-06 at 14:39 -0800, Nicholas A. Bellinger wrote: > On Tue, 2014-12-23 at 09:28 +0100, Christoph Hellwig wrote: > > On Mon, Dec 22, 2014 at 11:31:53AM +0100, Stefan Priebe - Profihost AG > > wrote: > > > Hi, > > > > > > since the below patch i've some problems with iscsi. > > > > >

Re: block: remove artifical max_hw_sectors cap

2015-01-06 Thread Nicholas A. Bellinger
On Tue, 2014-12-23 at 09:28 +0100, Christoph Hellwig wrote: > On Mon, Dec 22, 2014 at 11:31:53AM +0100, Stefan Priebe - Profihost AG wrote: > > Hi, > > > > since the below patch i've some problems with iscsi. > > > > The LIO based iscsi Server is full of messages like this: > > SCSI OP 2ah with t

Re: block: remove artifical max_hw_sectors cap

2015-01-05 Thread Stefan Priebe
Am 05.01.2015 um 18:17 schrieb Christoph Hellwig: On Tue, Dec 30, 2014 at 03:15:26PM +0100, Stefan Priebe - Profihost AG wrote: What is the max_sectors_kb value for them? # cat /sys/block/sdi/queue/max_sectors_kb 16383 That's odd, it's half of what ATA disks should support. Is this device a

Re: block: remove artifical max_hw_sectors cap

2015-01-05 Thread Christoph Hellwig
On Tue, Dec 30, 2014 at 03:15:26PM +0100, Stefan Priebe - Profihost AG wrote: > > What is the max_sectors_kb value for them? > > > # cat /sys/block/sdi/queue/max_sectors_kb > 16383 That's odd, it's half of what ATA disks should support. Is this device attached to the HBA or an expander? -- To u

Re: block: remove artifical max_hw_sectors cap

2014-12-30 Thread Stefan Priebe - Profihost AG
Am 30.12.2014 um 12:32 schrieb Christoph Hellwig: > On Sun, Dec 28, 2014 at 01:08:59PM +0100, Stefan Priebe wrote: >>> Nic, can you fix LIO to expose the proper max xfer size? >> >> some more problems while running this patch. >> >> My crucial m500 and m550 ssds (i have around 60 in 30 different c

Re: block: remove artifical max_hw_sectors cap

2014-12-30 Thread Christoph Hellwig
On Sun, Dec 28, 2014 at 01:08:59PM +0100, Stefan Priebe wrote: >> Nic, can you fix LIO to expose the proper max xfer size? > > some more problems while running this patch. > > My crucial m500 and m550 ssds (i have around 60 in 30 different cases and > motherboards but all attached as jbods at LSI

Re: block: remove artifical max_hw_sectors cap

2014-12-28 Thread Stefan Priebe
Hi Christoph, Am 23.12.2014 um 09:28 schrieb Christoph Hellwig: On Mon, Dec 22, 2014 at 11:31:53AM +0100, Stefan Priebe - Profihost AG wrote: Hi, since the below patch i've some problems with iscsi. The LIO based iscsi Server is full of messages like this: SCSI OP 2ah with too big sectors 834

Re: block: remove artifical max_hw_sectors cap

2014-12-23 Thread Christoph Hellwig
On Mon, Dec 22, 2014 at 11:31:53AM +0100, Stefan Priebe - Profihost AG wrote: > Hi, > > since the below patch i've some problems with iscsi. > > The LIO based iscsi Server is full of messages like this: > SCSI OP 2ah with too big sectors 8344 exceeds fabric_max_sectors: 8192 > > And the client s