Re: Sparc ESP problem with blk-mq

2014-10-16 Thread mroos
Christoph, any idea on this? The command just times out, for some reason. Only thing I could think of was related to perhaps missing bouncing or similar, but I don't think that's the case. But the hba must not like the request somehow. Or perhaps it sets up the wrong number of segments.

Re: [PATCH 0/5] block/scsi/lio support for COMPARE_AND_WRITE

2014-10-16 Thread Douglas Gilbert
On 14-10-16 07:37 AM, micha...@cs.wisc.edu wrote: The following patches implement the SCSI command COMPARE_AND_WRITE as a new bio/request type REQ_CMP_AND_WRITE. COMPARE_AND_WRITE is defined in the SCSI SBC (SCSI block command) specs as: The COMPARE AND WRITE command requests that the device

Re: [PATCH] tmscim: Remove unused SCSI_IRQ_NONE macro definition

2014-10-16 Thread Guennadi Liakhovetski
On Fri, 3 Oct 2014, Finn Thain wrote: Signed-off-by: Finn Thain fth...@telegraphics.com.au Acked-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Thanks Guennadi --- This macro is only used in the NCR5380 drivers and they don't include this header. --- drivers/scsi/tmscsim.h |

[PATCH] aic7xxx: replace kmalloc/memset by kzalloc

2014-10-16 Thread Michael Opdenacker
This replaces kmalloc + memset by a call to kzalloc. This also fixes one checkpatch.pl issue in the process. This improvement was suggested by make coccicheck Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- drivers/scsi/aic7xxx/aic79xx_core.c | 3 +--

Re: [PATCH] aic7xxx: replace kmalloc/memset by kzalloc

2014-10-16 Thread Joe Perches
On Thu, 2014-10-16 at 21:14 +0200, Michael Opdenacker wrote: This replaces kmalloc + memset by a call to kzalloc. [] diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c b/drivers/scsi/aic7xxx/aic7xxx_core.c [] @@ -4780,10 +4779,10 @@ ahc_init_scbdata(struct ahc_softc *ahc)

Re: [PATCH] aic7xxx: replace kmalloc/memset by kzalloc

2014-10-16 Thread Michael Opdenacker
Hi Joe, On 10/16/2014 09:28 PM, Joe Perches wrote: On Thu, 2014-10-16 at 21:14 +0200, Michael Opdenacker wrote: /* Allocate SCB resources */ - scb_data-scbarray = kmalloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, GFP_ATOMIC); + scb_data-scbarray = kzalloc(sizeof(struct scb)

Re: [PATCH 0/5] block/scsi/lio support for COMPARE_AND_WRITE

2014-10-16 Thread Douglas Gilbert
On 14-10-16 12:39 PM, Douglas Gilbert wrote: On 14-10-16 07:37 AM, micha...@cs.wisc.edu wrote: The following patches implement the SCSI command COMPARE_AND_WRITE as a new bio/request type REQ_CMP_AND_WRITE. COMPARE_AND_WRITE is defined in the SCSI SBC (SCSI block command) specs as: The COMPARE

RE: [PATCH 0/5] block/scsi/lio support for COMPARE_AND_WRITE

2014-10-16 Thread Elliott, Robert (Server Storage)
-Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- ow...@vger.kernel.org] On Behalf Of Douglas Gilbert Sent: Thursday, 16 October, 2014 3:02 PM ... On 14-10-16 12:39 PM, Douglas Gilbert wrote: ... The COMPARE AND WRITE command may fail for other reasons

[PATCH scsi] libcxgbi : support ipv6 address host_param

2014-10-16 Thread Anish Bhatt
libcxgbi was always returning an ipv4 address for ISCSI_HOST_PARAM_IPADDRESS, return appropriate address based on address family Signed-off-by: Anish Bhatt an...@chelsio.com Signed-off-by: Karen Xie k...@chelsio.com --- drivers/scsi/cxgbi/libcxgbi.c | 42