On 11/13/2015 09:57 PM, Jeff Moyer wrote:
Hi Hannes,
Hannes Reinecke writes:
When running on files the physical blocksize is actually 4k,
How did you come to that conclusion? Are you basing it on the file
system block size? If so, that's configurable at mkfs time and can be
anything from
On 11/13/2015 09:57 PM, Jeff Moyer wrote:
Hi Hannes,
Hannes Reinecke <h...@suse.de> writes:
When running on files the physical blocksize is actually 4k,
How did you come to that conclusion? Are you basing it on the file
system block size? If so, that's configurable at mkfs time a
On 11/29/2015 06:05 PM, Markus Trippelsdorf wrote:
> On 2015.11.29 at 11:49 -0500, Mike Snitzer wrote:
>> On Sun, Nov 29 2015 at 11:15am -0500,
>> Markus Trippelsdorf wrote:
>>
>>> On 2015.11.29 at 16:43 +0100, Hannes Reinecke wrote:
>>>> On 11/2
On 11/29/2015 12:49 PM, Markus Trippelsdorf wrote:
> On 2015.11.26 at 08:11 -0500, Mike Snitzer wrote:
>> On Thu, Nov 26 2015 at 2:46am -0500,
>> Hannes Reinecke wrote:
>>
>>> When a cloned request is retried on other queues it always needs
>>>
On 11/29/2015 12:49 PM, Markus Trippelsdorf wrote:
> On 2015.11.26 at 08:11 -0500, Mike Snitzer wrote:
>> On Thu, Nov 26 2015 at 2:46am -0500,
>> Hannes Reinecke <h...@suse.de> wrote:
>>
>>> When a cloned request is retried on other queues it always needs
On 11/29/2015 06:05 PM, Markus Trippelsdorf wrote:
> On 2015.11.29 at 11:49 -0500, Mike Snitzer wrote:
>> On Sun, Nov 29 2015 at 11:15am -0500,
>> Markus Trippelsdorf <mar...@trippelsdorf.de> wrote:
>>
>>> On 2015.11.29 at 16:43 +0100, Hannes Reinecke wrote:
On 11/26/2015 10:21 AM, Ming Lei wrote:
> On Thu, Nov 26, 2015 at 4:13 PM, Hannes Reinecke wrote:
>> Hi all,
>>
>> while investigating the crash in scsi_lib.c I found a rather curious
>> behaviour for QUEUE_FLAG_NO_SG_MERGE.
>>
>> While the flag
On 11/26/2015 10:21 AM, Ming Lei wrote:
> On Thu, Nov 26, 2015 at 4:13 PM, Hannes Reinecke <h...@suse.de> wrote:
>> Hi all,
>>
>> while investigating the crash in scsi_lib.c I found a rather curious
>> behaviour for QUEUE_FLAG_NO_SG_MERGE.
as advertised?
Or, to be precise, which only works for blk-mq?
Should we make it work for non-block-mq, too?
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 9
as advertised?
Or, to be precise, which only works for blk-mq?
Should we make it work for non-block-mq, too?
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 9
()
to blk_cloned_rq_check_limits() and removes the symbol
export, as the new function should only be used for
cloned requests and never exported.
Cc: Mike Snitzer
Cc: Ewan Milne
Cc: Jeff Moyer
Signed-off-by: Hannes Reinecke
---
block/blk-core.c | 21 +++--
include/linux/blkdev.h | 1 -
2
On 11/25/2015 06:56 PM, Jens Axboe wrote:
On 11/25/2015 02:04 AM, Hannes Reinecke wrote:
On 11/20/2015 04:28 PM, Ewan Milne wrote:
On Fri, 2015-11-20 at 15:55 +0100, Hannes Reinecke wrote:
Can't we have a joint effort here?
I've been spending a _LOT_ of time trying to debug things here
On 11/25/2015 07:01 PM, Mike Snitzer wrote:
On Wed, Nov 25 2015 at 4:04am -0500,
Hannes Reinecke wrote:
On 11/20/2015 04:28 PM, Ewan Milne wrote:
On Fri, 2015-11-20 at 15:55 +0100, Hannes Reinecke wrote:
Can't we have a joint effort here?
I've been spending a _LOT_ of time trying to debug
> 512
> #define ARCMSR_MAX_XFER_SECTORS_B
> 4096
>
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de
On 11/25/2015 12:49 PM, Ching Huang wrote:
> From: Ching Huang
>
> Support areca new PCIe to SATA RAID adapter ARC1203
>
> Signed-of-by: Ching Huang
>
> ---
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSerie
On 11/25/2015 12:45 PM, Ching Huang wrote:
> From: Ching Huang
>
> Modifies codes for more readable
>
> Signed-of-by: Ching Huang
>
> ---
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSerie
coherent(>pdev->dev, acb->roundup_ccbsize,
> + acb->dma_coherent2, acb->dma_coherent_handle2);
> + return false;
> }
>
> static bool arcmsr_hbaC_get_config(struct AdapterControlBlock *pACB)
>
>
Reviewed-by: Hannes Reinecke
Cheers,
Han
On 11/25/2015 12:36 PM, Ching Huang wrote:
> From: Ching Huang
>
> Fixed getting wrong configuration data of adapter type B and type D.
>
> Signed-of-by: Ching Huang
>
> ---
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes Reinecke
On 11/20/2015 04:28 PM, Ewan Milne wrote:
> On Fri, 2015-11-20 at 15:55 +0100, Hannes Reinecke wrote:
>> Can't we have a joint effort here?
>> I've been spending a _LOT_ of time trying to debug things here, but
>> none of the ideas I've come up with have been able to fix any
On 11/25/2015 06:56 PM, Jens Axboe wrote:
On 11/25/2015 02:04 AM, Hannes Reinecke wrote:
On 11/20/2015 04:28 PM, Ewan Milne wrote:
On Fri, 2015-11-20 at 15:55 +0100, Hannes Reinecke wrote:
Can't we have a joint effort here?
I've been spending a _LOT_ of time trying to debug things here
On 11/25/2015 07:01 PM, Mike Snitzer wrote:
On Wed, Nov 25 2015 at 4:04am -0500,
Hannes Reinecke <h...@suse.de> wrote:
On 11/20/2015 04:28 PM, Ewan Milne wrote:
On Fri, 2015-11-20 at 15:55 +0100, Hannes Reinecke wrote:
Can't we have a joint effort here?
I've been spending a _LOT_ o
()
to blk_cloned_rq_check_limits() and removes the symbol
export, as the new function should only be used for
cloned requests and never exported.
Cc: Mike Snitzer <snit...@redhat.com>
Cc: Ewan Milne <emi...@redhat.com>
Cc: Jeff Moyer <jmo...@redhat.com>
Signed-off-by: Hannes Reinecke <h...@su
On 11/20/2015 04:28 PM, Ewan Milne wrote:
> On Fri, 2015-11-20 at 15:55 +0100, Hannes Reinecke wrote:
>> Can't we have a joint effort here?
>> I've been spending a _LOT_ of time trying to debug things here, but
>> none of the ideas I've come up with have been able to fix any
CMSR_MAX_XFER_SECTORS
> 512
> #define ARCMSR_MAX_XFER_SECTORS_B
> 4096
>
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes Reinecke
On 11/25/2015 12:49 PM, Ching Huang wrote:
> From: Ching Huang <ching2...@areca.com.tw>
>
> Support areca new PCIe to SATA RAID adapter ARC1203
>
> Signed-of-by: Ching Huang <ching2...@areca.com.tw>
>
> ---
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
return true;
> +err_free_dma:
> + dma_free_coherent(>pdev->dev, acb->roundup_ccbsize,
> + acb->dma_coherent2, acb->dma_coherent_handle2);
> + return false;
> }
>
> static bool arcmsr_hbaC_get_config(struct AdapterControlBlock *p
On 11/25/2015 12:36 PM, Ching Huang wrote:
> From: Ching Huang <ching2...@areca.com.tw>
>
> Fixed getting wrong configuration data of adapter type B and type D.
>
> Signed-of-by: Ching Huang <ching2...@areca.com.tw>
>
> ---
>
Reviewed-by: Hannes Reinecke <
On 11/25/2015 12:45 PM, Ching Huang wrote:
> From: Ching Huang <ching2...@areca.com.tw>
>
> Modifies codes for more readable
>
> Signed-of-by: Ching Huang <ching2...@areca.com.tw>
>
> ---
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
> 512
> #define ARCMSR_MAX_XFER_SECTORS_B
> 4096
>
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de
s,4,16-19*/
> return true;
> +err_free_dma:
> + dma_free_coherent(>pdev->dev, acb->roundup_ccbsize,
> + acb->dma_coherent2, acb->dma_coherent_handle2);
> + return false;
> }
>
And this is actually a bugfix, but hey.
> stati
On 11/25/2015 04:21 AM, Ching Huang wrote:
> From: Ching Huang
>
> Fixed getting wrong configuration data of adapter type B and type D.
>
> Signed-of-by: Ching Huang
>
> ---
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes Reinecke
CONFIG_SCSI_CONSTANTS=y impact by 8k
>
> drivers/scsi/constants.c | 859
> ++---
> drivers/scsi/sense_codes.h | 826 +++
> 2 files changed, 847 insertions(+), 838 deletions(-)
> create mode 100644 drivers/scsi
series.
Otherwise it'll be hard to keep track of which patch belongs to
which version.
Thanks.
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
-2780,7 +2780,7 @@ static unsigned long lba_to_map_index(sector_t lba)
> lba += scsi_debug_unmap_granularity -
> scsi_debug_unmap_alignment;
> }
> - do_div(lba, scsi_debug_unmap_granularity);
> + sector_div(lba, scsi_debug_unmap_granularity
On 11/25/2015 04:21 AM, Ching Huang wrote:
> From: Ching Huang <ching2...@areca.com.tw>
>
> Fixed getting wrong configuration data of adapter type B and type D.
>
> Signed-of-by: Ching Huang <ching2...@areca.com.tw>
>
> ---
Reviewed-by: Hannes Reinecke <h.
r[25]);
> /*firm_cfg_version,25,100-103*/
> /*firm_ide_channels,4,16-19*/
> return true;
> +err_free_dma:
> + dma_free_coherent(>pdev->dev, acb->roundup_ccbsize,
> + acb->dma_coherent2, acb->dma_coherent_handle2);
> + return false;
>
CMSR_MAX_XFER_SECTORS
> 512
> #define ARCMSR_MAX_XFER_SECTORS_B
> 4096
>
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes Reinecke
t; @@ -2780,7 +2780,7 @@ static unsigned long lba_to_map_index(sector_t lba)
> lba += scsi_debug_unmap_granularity -
> scsi_debug_unmap_alignment;
> }
> - do_div(lba, scsi_debug_unmap_granularity);
> + sector_div(lba, scsi_debug_un
add it as the last patch in the series.
Otherwise it'll be hard to keep track of which patch belongs to
which version.
Thanks.
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxf
CONFIG_SCSI_CONSTANTS=y impact by 8k
>
> drivers/scsi/constants.c | 859
> ++---
> drivers/scsi/sense_codes.h | 826 +++
> 2 files changed, 847 insertions(+), 838 deletions(-)
> create mode 100644 drivers/scs
al options map onto that.
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
al options map onto that.
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
On 11/20/2015 04:28 PM, Ewan Milne wrote:
On Fri, 2015-11-20 at 15:55 +0100, Hannes Reinecke wrote:
Can't we have a joint effort here?
I've been spending a _LOT_ of time trying to debug things here, but
none of the ideas I've come up with have been able to fix anything.
Yes. I'm not the one
On 11/20/2015 04:28 PM, Ewan Milne wrote:
On Fri, 2015-11-20 at 15:55 +0100, Hannes Reinecke wrote:
Can't we have a joint effort here?
I've been spending a _LOT_ of time trying to debug things here, but
none of the ideas I've come up with have been able to fix anything.
Yes. I'm not the one
On 11/20/2015 03:38 PM, Ewan Milne wrote:
> On Thu, 2015-11-19 at 16:35 +0100, Hannes Reinecke wrote:
>> On 11/19/2015 09:23 AM, Christoph Hellwig wrote:
>>> It's pretty much guaranteed a block layer bug, most likely in the
>>> merge bios to request infrastucture wher
On 11/20/2015 03:38 PM, Ewan Milne wrote:
> On Thu, 2015-11-19 at 16:35 +0100, Hannes Reinecke wrote:
>> On 11/19/2015 09:23 AM, Christoph Hellwig wrote:
>>> It's pretty much guaranteed a block layer bug, most likely in the
>>> merge bios to request infrastucture wher
ric block-layer problem.
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB
lude/scsi/scsi_host.h
> @@ -668,6 +668,9 @@ struct Scsi_Host {
> unsigned use_blk_mq:1;
> unsigned use_cmd_list:1;
>
> + /* Host responded with short (<36 bytes) INQUIRY result */
> + unsigned short_inquiry:1;
> +
> /*
>* Optional work queue to be utilized by the tr
and the main loop should proceed with
> the next command in the issue queue. Clarify this logic.
>
> Signed-off-by: Finn Thain
>
> ---
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de
> drivers/scsi/NCR5380.h |6 --
> drivers/scsi/atari_NCR5380.c | 13 -
> 3 files changed, 32 deletions(-)
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de
Signed-off-by: Finn Thain
>
> ---
> drivers/scsi/NCR5380.c | 30 --
> drivers/scsi/atari_NCR5380.c |6 +++---
> 2 files changed, 11 insertions(+), 25 deletions(-)
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote:
> Remove the duplicate write to the Select Enable Register that appeared
> in v1.1.38.
>
> Also remove the redundant write to Initiator Command Register prior to
> calling do_abort().
>
> Signed-off-by: Finn Thain
>
> ---
R
On 11/18/2015 09:35 AM, Finn Thain wrote:
> The aborted flag was introduced in v1.1.38 but never used. Remove it.
>
> Signed-off-by: Finn Thain
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Stor
erious problems for
> EH purposes. Those problems are addressed later in this series.
>
> ---
> drivers/scsi/NCR5380.c | 20 +++-
> drivers/scsi/atari_NCR5380.c | 30 --
> 2 files changed, 23 insertions(+), 27 deletions(-
c| 60 +--
> drivers/scsi/mac_scsi.c | 65
> ++-
> drivers/scsi/sun3_scsi.c | 47 ---
> 7 files changed, 51 insertions(+), 178 deletions(-)
>
Reviewed-by: Hannes Rei
+++
> 2 files changed, 134 insertions(+), 12 deletions(-)
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH,
+
> 3 files changed, 20 insertions(+), 27 deletions(-)
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürn
ation and bus reset. Again,
> the solution is to move the bus reset code into NCR5380_maybe_reset_bus().
>
> Signed-off-by: Finn Thain
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de
ric block-layer problem.
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB
---
> drivers/scsi/atari_NCR5380.c | 113
> +++
> 2 files changed, 134 insertions(+), 12 deletions(-)
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de
s/scsi/atari_scsi.c| 60 +--
> drivers/scsi/mac_scsi.c | 65
> ++-
> drivers/scsi/sun3_scsi.c | 47 ---
> 7 files changed, 51 insertions(+
d, 23 insertions(+), 27 deletions(-)
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F.
ation and bus reset. Again,
> the solution is to move the bus reset code into NCR5380_maybe_reset_bus().
>
> Signed-off-by: Finn Thain <fth...@telegraphics.com.au>
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezS
drivers/scsi/g_NCR5380.h |6 ++
> 3 files changed, 20 insertions(+), 27 deletions(-)
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 7
On 11/18/2015 09:35 AM, Finn Thain wrote:
> The aborted flag was introduced in v1.1.38 but never used. Remove it.
>
> Signed-off-by: Finn Thain <fth...@telegraphics.com.au>
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes Reinecke
h...@telegraphics.com.au>
>
> ---
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendö
d-off-by: Finn Thain <fth...@telegraphics.com.au>
>
> ---
> drivers/scsi/NCR5380.c | 30 --
> drivers/scsi/atari_NCR5380.c |6 +++---
> 2 files changed, 11 insertions(+), 25 deletions(-)
>
Reviewed-by: Hannes Reinecke <h..
5380.c | 13 -
> drivers/scsi/NCR5380.h |6 --
> drivers/scsi/atari_NCR5380.c | 13 -----
> 3 files changed, 32 deletions(-)
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes
and the main loop should proceed with
> the next command in the issue queue. Clarify this logic.
>
> Signed-off-by: Finn Thain <fth...@telegraphics.com.au>
>
> ---
>
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes Reinecke
b/include/scsi/scsi_host.h
> @@ -668,6 +668,9 @@ struct Scsi_Host {
> unsigned use_blk_mq:1;
> unsigned use_cmd_list:1;
>
> + /* Host responded with short (<36 bytes) INQUIRY result */
> + unsigned short_inquiry:1;
> +
> /*
>* Optional work queu
(-)
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284
tions".
Signed-off-by: Finn Thain
---
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smit
---
drivers/scsi/pas16.c | 21 +++--
drivers/scsi/pas16.h | 16
drivers/scsi/t128.c | 18 ++
drivers/scsi/t128.h | 16
6 files changed, 19 insertions(+), 97 deletions(-)
Reviewed-by: Hannes Reinecke
-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284
.c |4 ++--
6 files changed, 16 insertions(+), 16 deletions(-)
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 9
.
Signed-off-by: Finn Thain
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. G
|8
drivers/scsi/t128.c |4 ++--
6 files changed, 16 insertions(+), 16 deletions(-)
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +
.
Signed-off-by: Finn Thain <fth...@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5
tions".
Signed-off-by: Finn Thain <fth...@telegraphics.com.au>
---
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Max
etions(-)
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Up
+), 48 deletions(-)
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Sm
rtions(+), 6 deletions(-)
Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer
> scsi_cmnd *scp,
> return ASC_BUSY;
> }
> scsiqp->sense_addr = cpu_to_le32(sense_addr);
> - scsiqp->sense_len = cpu_to_le32(SCSI_SENSE_BUFFERSIZE);
> + scsiqp->sense_len = SCSI_SENSE_BUFFERSIZE;
>
> /* Build AD
modprobe parameters.
We actually had customers running into a host_no overflow due to
excessive host allocations and freeing done by iSCSI.
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE
t. Then have it enabled via a modprobe parameters.
We actually had customers running into a host_no overflow due to
excessive host allocations and freeing done by iSCSI.
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de
d *boardp, struct
> scsi_cmnd *scp,
> return ASC_BUSY;
> }
> scsiqp->sense_addr = cpu_to_le32(sense_addr);
> - scsiqp->sense_len = cpu_to_le32(SCSI_SENSE_BUFFERSIZE);
> + scsiqp->sense_len = SCSI_SENSE_BUFFERSIZE;
>
> /* Build
&& sas_is_tlr_enabled(scmd->device) && scmd->cmd_len != 32)
> mpi_control |= MPI2_SCSIIO_CONTROL_TLR_ON;
>
> smid = mpt3sas_base_get_smid_scsiio(ioc, ioc->scsi_io_cb_idx, scmd);
>
Reviewed-by: Hannes Reinecke
Cheers,
Hannes
--
Dr. Ha
mp;
> - scmd->cmd_len != 32)
> + && sas_is_tlr_enabled(scmd->device) && scmd->cmd_len != 32)
> mpi_control |= MPI2_SCSIIO_CONTROL_TLR_ON;
>
> smid = mpt3sas_base_get_smid_scsiio(ioc, ioc->scsi_io_cb_idx, scmd);
>
Reviewed-by: Hannes Reinecke
h
> delete mode 100644 drivers/scsi/mpt2sas/mpt2sas_config.c
> delete mode 100644 drivers/scsi/mpt2sas/mpt2sas_ctl.c
> delete mode 100644 drivers/scsi/mpt2sas/mpt2sas_ctl.h
> delete mode 100644 drivers/scsi/mpt2sas/mpt2sas_debug.h
> delete mode 100644 drivers/scs
> drivers/scsi/mpt3sas/mpt3sas_ctl.c| 18 +---
> drivers/scsi/mpt3sas/mpt3sas_module.c | 1 +
> drivers/scsi/mpt3sas/mpt3sas_scsih.c | 39
> ++-
> 6 files changed, 62 insertions(+), 8 deletions(-)
>
I'd rather shorten that to 'hba_mpi_versio
t *)_data->ConfigElement[0];
> if (ioc->shost_recovery) {
> -
> +#ifndef SCSI_MPT2SAS
> for (i = 0; i < event_data->NumElements; i++, element++) {
> if (element->ReasonCode == MPI2_EVENT_IR_CHANGE_RC_HIDE)
>
h
> delete mode 100644 drivers/scsi/mpt2sas/mpt2sas_config.c
> delete mode 100644 drivers/scsi/mpt2sas/mpt2sas_ctl.c
> delete mode 100644 drivers/scsi/mpt2sas/mpt2sas_ctl.h
> delete mode 100644 drivers/scsi/mpt2sas/mpt2sas_debug.h
> delete mode 100644 drivers/scsi/mpt2sas/mpt2
rtions(+), 8 deletions(-)
>
I'd rather shorten that to 'hba_mpi_version'.
Other than that it's okay.
Cheers,
Hannes
--
Dr. Hannes ReineckezSeries & Storage
h...@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürn
> MPT3SAS_ADAPTER *ioc,
>
> element = (Mpi2EventIrConfigElement_t *)_data->ConfigElement[0];
> if (ioc->shost_recovery) {
> -
> +#ifndef SCSI_MPT2SAS
> for (i = 0; i < event_data->NumElements; i++, element++) {
> if (elemen
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
---
drivers/block/loop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index e790487..7272055 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
The current LOOP_SET_STATUS64 ioctl has two unused fields
'init[2]', which can be used in conjunction with the
LO_FLAGS_BLOCKSIZE flag to pass in the new logical blocksize.
Signed-off-by: Hannes Reinecke
---
drivers/block/loop.c | 25 -
1 file changed, 20 insertions
When running on files the physical blocksize is actually 4k,
so we should be announcing it as such. This is enabled with
a new LO_FLAGS_BLOCKSIZE flag value to the existing
loop_set_status ioctl.
Signed-off-by: Hannes Reinecke
---
drivers/block/loop.c | 9 -
1 file changed, 8 insertions
Add a new field 'lo_logical_blocksize' to hold the logical
blocksize of the loop device.
Signed-off-by: Hannes Reinecke
---
drivers/block/loop.c | 9 +++--
drivers/block/loop.h | 1 +
include/uapi/linux/loop.h | 1 +
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git
patches
Changes to v2:
- Drop lo_flags setting in loop_set_fd as suggested by Ming Lei
Hannes Reinecke (4):
loop: Enable correct physical blocksize
loop: Remove unused 'bdev' argument from loop_set_capacity
loop: Add 'lo_logical_blocksize'
loop: Pass logical blocksize in 'lo_init[0]' ioctl field
patches
Changes to v2:
- Drop lo_flags setting in loop_set_fd as suggested by Ming Lei
Hannes Reinecke (4):
loop: Enable correct physical blocksize
loop: Remove unused 'bdev' argument from loop_set_capacity
loop: Add 'lo_logical_blocksize'
loop: Pass logical blocksize in 'lo_init[0]' ioctl field
1101 - 1200 of 1903 matches
Mail list logo