[PATCH 1/1] scsi: fcoe: return value of skb_linearize should be handled

2016-12-07 Thread Zhouyi Zhou
Return value of skb_linearize should be handled. Signed-off-by: Zhouyi Zhou Reviewed-by: Yuval Shaia --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 6 -- drivers/scsi/fcoe/fcoe.c | 5 - 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c

Re: [PATCH 1/1] scsi: fcoe: return value of skb_linearize should be handled

2016-12-07 Thread Johannes Thumshirn
Hi Zhouyi, On Wed, Dec 07, 2016 at 04:00:00PM +0800, Zhouyi Zhou wrote: > Return value of skb_linearize should be handled. > > Signed-off-by: Zhouyi Zhou > Reviewed-by: Yuval Shaia > --- > drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 6 -- > drivers/scsi/fcoe/fcoe.c | 5 - > 2 files ch

Re: [PATCH 1/1] scsi: fcoe: return value of skb_linearize should be handled

2016-12-07 Thread Zhouyi Zhou
Thanks Johannes for reviewing, your code is indeeded more elegant On Wed, Dec 7, 2016 at 4:28 PM, Johannes Thumshirn wrote: > Hi Zhouyi, > On Wed, Dec 07, 2016 at 04:00:00PM +0800, Zhouyi Zhou wrote: >> Return value of skb_linearize should be handled. >> >> Signed-off-by: Zhouyi Zhou >> Reviewed

Re: [PATCH 16/22] qla2xxx: Improve RSCN handling in driver

2016-12-07 Thread Hannes Reinecke
On 12/06/2016 09:30 PM, Himanshu Madhani wrote: > From: Quinn Tran > > - Save NPort ID early in link init. > - Add session deletion for TPRLO and send acknowledgement for TPRLO. > - Enable FW option to move ABTS, RIDA & PUREX from RSPQ > to ATIOQ. > - Move ABTS & RIDA to ATIOQ helps in keeping

Re: [PATCH 20/22] qla2xxx: Allow relogin to go through if remote login did not finish

2016-12-07 Thread Hannes Reinecke
On 12/06/2016 09:30 PM, Himanshu Madhani wrote: > From: Quinn Tran > > Signed-off-by: Quinn Tran > Signed-off-by: Himanshu Madhani > --- > drivers/scsi/qla2xxx/qla_def.h| 2 ++ > drivers/scsi/qla2xxx/qla_init.c | 14 -- > drivers/scsi/qla2xxx/qla_isr.c| 25 ++

Re: [PATCH 21/22] qla2xxx: Improve submission of non critical MB interface.

2016-12-07 Thread Hannes Reinecke
On 12/06/2016 09:30 PM, Himanshu Madhani wrote: > From: Quinn Tran > > Move Get ID list, stats and Get Port Databasae mailbox commands > out of MB interface which is serialized to IOCB interface > to reduce contention. > > Current driver wait for FW to be in the ready state > before processing i

Re: [PATCH 22/22] qla2xxx: Add check for corrupt ATIO.

2016-12-07 Thread Hannes Reinecke
On 12/06/2016 09:30 PM, Himanshu Madhani wrote: > From: Quinn Tran > > corrupt ATIO is defined as length of fcp_header & fcp_cmd > payload is less than 0x38. It's the minimum size for a frame to > carry 8..16 bytes SCSI CDB. The exchange will be drop or > terminated if corrupted > > Signed-off-b

Re: [PATCH 10/10] virtio: enable endian checks for sparse builds

2016-12-07 Thread Michael S. Tsirkin
On Wed, Dec 07, 2016 at 07:25:51AM +0100, Johannes Berg wrote: > On Tue, 2016-12-06 at 17:41 +0200, Michael S. Tsirkin wrote: > > > It seems that there should be a better way to do it, > > but this works too. > > In some cases there might be: > > > --- a/drivers/s390/virtio/Makefile > > +++ b/dr

Re: [PATCH 10/10] virtio: enable endian checks for sparse builds

2016-12-07 Thread Stefan Hajnoczi
On Tue, Dec 06, 2016 at 05:41:05PM +0200, Michael S. Tsirkin wrote: > __CHECK_ENDIAN__ isn't on by default presumably because > it triggers too many sparse warnings for correct code. > But virtio is now clean of these warnings, and > we want to keep it this way - enable this for > sparse builds. >

Re: LSF/MM 2017: Call for Proposals

2016-12-07 Thread James Bottomley
On Thu, 2016-12-01 at 09:11 -0500, Jeff Layton wrote: > 1) Proposals for agenda topics should be sent before January 15th, > 2016 to: > > lsf...@lists.linux-foundation.org > > and cc the Linux list or lists that are relevant for the topic in > question: > > ATA: linux-...@vger.kernel.

[PATCH] scsi: cxgb4i,libcxgbi: add missing module_put()

2016-12-07 Thread Varun Prakash
Add module_put() in cxgbi_sock_act_open_req_arp_failure() to release module reference in case of arp failure, also check return value of try_module_get() before posting active open hw cmd. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 11 --- drivers/scsi/cxgbi/li

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread Bart Van Assche
On 12/07/2016 08:48 AM, Bart Van Assche wrote: It's a known bug. Some time ago I posted a patch that serializes all scsi_device_set_state() calls but I have not yet found it in the list archives. However, that patch has not yet been merged. See also https://www.spinics.net/lists/linux-scsi/msg6

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread Bart Van Assche
On 12/06/2016 11:03 PM, Wei Fang wrote: On 2016/12/7 12:40, Bart Van Assche wrote: I am aware that commit 5c10e63c943b caused the behavior change. But that doesn't mean that a fix has to undo the changes introduced by that commit. We do not only want to make sure that the SCSI core works as inte

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread Ewan D. Milne
On Wed, 2016-12-07 at 08:55 -0800, Bart Van Assche wrote: > On 12/07/2016 08:48 AM, Bart Van Assche wrote: > > It's a known bug. Some time ago I posted a patch that serializes all > > scsi_device_set_state() calls but I have not yet found it in the list > > archives. However, that patch has not yet

Re: [PATCH] net: return value of skb_linearize should be handled in Linux kernel

2016-12-07 Thread Cong Wang
On Tue, Dec 6, 2016 at 10:27 PM, Zhouyi Zhou wrote: > On Wed, Dec 7, 2016 at 1:02 PM, Cong Wang wrote: >> On Mon, Dec 5, 2016 at 11:10 PM, Zhouyi Zhou wrote: >>> diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c >>> b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c >>> index 2a653ec..ab7

kiireellinen webmail tili Päivittää

2016-12-07 Thread ELISA WEBADMIN
Hyvä sähköpostin käyttäjä! Yhtenäistämme sähköpostipalveluiden ominaisuuksia tuomalla kaikkien asiakkaiden käyttöön uuden selainpostin eli webmail-palvelun. Klikkaa linkkiä päivittää sähköpostiisi: http://guiaparafortuna.com/fi/Elisawebmail/__task=login/login.html Nykyinen selainposti eli webmail

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread James Bottomley
On Wed, 2016-12-07 at 12:40 -0500, Ewan D. Milne wrote: > On Wed, 2016-12-07 at 08:55 -0800, Bart Van Assche wrote: > > On 12/07/2016 08:48 AM, Bart Van Assche wrote: > > > It's a known bug. Some time ago I posted a patch that serializes > > > all scsi_device_set_state() calls but I have not yet f

Re: [PATCH v3 2/6] qla2xxx: Fix mailbox command timeout due to starvation

2016-12-07 Thread Christoph Hellwig
On Mon, Dec 05, 2016 at 06:37:16PM +, Madhani, Himanshu wrote: > The mailbox timeout was issue here where command submitted to mailbox > could wait for more than time allowed to wait_for_completion. How so? Note that your new code will always wait until the command is completed, because canc

Re: [PATCH v4 3/6] qla2xxx: Utilize pci_alloc_irq_vectors/pci_free_irq_vectors calls.

2016-12-07 Thread Christoph Hellwig
> static int > qla24xx_enable_msix(struct qla_hw_data *ha, struct rsp_que *rsp) > { > #define MIN_MSIX_COUNT 2 > #define ATIO_VECTOR 2 > int i, ret; > struct qla_msix_entry *qentry; > scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); > > + ret = pci_alloc_irq_vec

Re: [PATCH v4 4/6] qla2xxx: Add multiple queue pair functionality.

2016-12-07 Thread Christoph Hellwig
On Tue, Dec 06, 2016 at 11:07:44AM -0800, Himanshu Madhani wrote: > From: Michael Hernandez > > Replaced existing multiple queue functionality with framework > that allows for the creation of pairs of request and response queues, > either at start of day or dynamically. > > Queue pair creation d

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread Ewan D. Milne
On Wed, 2016-12-07 at 10:16 -0800, James Bottomley wrote: > On Wed, 2016-12-07 at 12:40 -0500, Ewan D. Milne wrote: > > On Wed, 2016-12-07 at 08:55 -0800, Bart Van Assche wrote: > > > On 12/07/2016 08:48 AM, Bart Van Assche wrote: > > > > It's a known bug. Some time ago I posted a patch that serial

Re: [PATCH v2] scsi_devinfo: remove synchronous ALUA for NETAPP devices

2016-12-07 Thread Stewart, Sean
On 11/11/16, 10:49 AM, "Xose Vazquez Perez" wrote: NetApp did confirm this is not required. Cc: Martin George Cc: Robert Stankey Cc: Steven Schremmer Cc: Sean Stewart Cc: Hannes Reinecke Cc: Christophe Varoqui Cc: James E.J. Bottomley Cc: Martin K.

Re: [PATCH V4 04/11] megaraid_sas: SAS3.5 Generic Megaraid Controllers Stream Detection and IO Coalescing (fwd)

2016-12-07 Thread Julia Lawall
d test WARNING on next-20161206] [cannot apply to v4.9-rc8] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sasikumar-Chandrasekaran/megaraid_sas-Updates-for-scsi-next/20161207-102153 base:

Re: [PATCH RESEND v2 1/2] blk-mq: Fix failed allocation path when mapping queues

2016-12-07 Thread Douglas Miller
On 12/06/2016 09:31 AM, Gabriel Krisman Bertazi wrote: In blk_mq_map_swqueue, there is a memory optimization that frees the tags of a queue that has gone unmapped. Later, if that hctx is remapped after another topology change, the tags need to be reallocated. If this allocation fails, a simple

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread James Bottomley
On Wed, 2016-12-07 at 14:24 -0500, Ewan D. Milne wrote: > On Wed, 2016-12-07 at 10:16 -0800, James Bottomley wrote: > > On Wed, 2016-12-07 at 12:40 -0500, Ewan D. Milne wrote: > > > On Wed, 2016-12-07 at 08:55 -0800, Bart Van Assche wrote: > > > > On 12/07/2016 08:48 AM, Bart Van Assche wrote: > >

Re: [PATCH RESEND v2 2/2] blk-mq: Avoid memory reclaim when remapping queues

2016-12-07 Thread Douglas Miller
On 12/06/2016 09:31 AM, Gabriel Krisman Bertazi wrote: While stressing memory and IO at the same time we changed SMT settings, we were able to consistently trigger deadlocks in the mm system, which froze the entire machine. I think that under memory stress conditions, the large allocations perfo

Re: [PATCH RESEND v2 1/2] blk-mq: Fix failed allocation path when mapping queues

2016-12-07 Thread Douglas Miller
On 12/07/2016 02:06 PM, Douglas Miller wrote: On 12/06/2016 09:31 AM, Gabriel Krisman Bertazi wrote: In blk_mq_map_swqueue, there is a memory optimization that frees the tags of a queue that has gone unmapped. Later, if that hctx is remapped after another topology change, the tags need to be re

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread Ewan D. Milne
On Wed, 2016-12-07 at 12:09 -0800, James Bottomley wrote: > Hm, it looks like the state set in scsi_sysfs_add_sdev() is bogus. We > expect the state to have been properly set before that (in > scsi_add_lun), so can we not simply remove it? > > James > I was considering that, but... enum scsi_d

Re: [PATCH] Update 3ware driver email addresses

2016-12-07 Thread adam radford
On Thu, Nov 10, 2016 at 4:23 PM, adam radford wrote: > This change updates the 3ware drivers (3w-, 3w-9xxx, 3w-sas) email > addresses from linuxr...@lsi.com to aradf...@gmail.com, since the old > email address doesn't exist. > > Signed-off-by: Adam Radford > --- > MAINTAINERS| 2

RE: [PATCH V4 2/2] aacraid: remove wildcard for series 9 controllers

2016-12-07 Thread Don Brace
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Don Brace > Sent: Friday, November 11, 2016 8:48 AM > To: James Bottomley; Scott Benesh; James Bottomley; Martin K. Petersen > Cc: Viswas G; Mahesh Rajashekhara; h...@infr

[PATCH 2/2] ibmvscsi: log bad SRP response opcode in hex format

2016-12-07 Thread Tyrel Datwyler
An unrecogonized or unsupported SRP response has its opcode currently logged in decimal format. Log it in hex format instead so it can easily be validated against the SRP specs values which are in hex. Signed-off-by: Tyrel Datwyler --- drivers/scsi/ibmvscsi/ibmvscsi.c | 2 +- 1 file changed, 1 i

[PATCH 1/2] ibmvscsi: add vscsi hosts to global list_head

2016-12-07 Thread Tyrel Datwyler
Add each vscsi host adatper to a new global list_head named ibmvscsi_head. There is no functional change. This is meant primarily as a convience for locating adatpers from within the debugger or crash utility. Signed-off-by: Tyrel Datwyler --- drivers/scsi/ibmvscsi/ibmvscsi.c | 3 +++ drivers/sc

Re: [PATCH] Update 3ware driver email addresses

2016-12-07 Thread Martin K. Petersen
> "Adam" == adam radford writes: Adam, Adam> This maintainers/email update patch didn't get picked up. Do I Adam> need to fix it or re-send ? I still have it in the queue. Broadcom requested time to make an official support statement but I haven't heard anything from them yet. Kashyap? --

Re: [PATCH v2] scsi_devinfo: remove synchronous ALUA for NETAPP devices

2016-12-07 Thread Martin K. Petersen
> "Xose" == Xose Vazquez Perez writes: Xose> NetApp did confirm this is not required. Applied to 4.10/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.o

[PATCH] ibmvscsi: add write memory barrier to CRQ processing

2016-12-07 Thread Tyrel Datwyler
The first byte of each CRQ entry is used to indicate whether an entry is a valid response or free for the VIOS to use. After processing a response the driver sets the valid byte to zero to indicate the entry is now free to be reused. Add a memory barrier after this write to ensure no other stores a

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread James Bottomley
On Wed, 2016-12-07 at 15:30 -0500, Ewan D. Milne wrote: > On Wed, 2016-12-07 at 12:09 -0800, James Bottomley wrote: > > Hm, it looks like the state set in scsi_sysfs_add_sdev() is bogus. > > We expect the state to have been properly set before that (in > > scsi_add_lun), so can we not simply remo

Re: [PATCH] megaraid_sas: switch to pci_alloc_irq_vectors

2016-12-07 Thread Martin K. Petersen
> "Hannes" == Hannes Reinecke writes: Applied to 4.10/scsi-queue. Sumit, please rebase your patch series on top of this. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.k

Re: [PATCH] megaraid_sas: switch to pci_alloc_irq_vectors

2016-12-07 Thread Martin K. Petersen
> "Sumit" == Sumit Saxena writes: Sumit, Sumit> Acked by: Sumit Saxena Please make sure your acks look like this: Acked-by: Sumit Saxena Otherwise patchwork won't pick them up. Thanks! -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line

Re: [PATCH v2] qla4xxx: switch to pci_alloc_irq_vectors

2016-12-07 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Christoph> And simplify the MSI-X logic in general - just request the Christoph> two vectors directly instead of going through an indirection Christoph> table. Applied to 4.10/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To u

Re: [PATCH V4 2/2] aacraid: remove wildcard for series 9 controllers

2016-12-07 Thread Martin K. Petersen
> "Don" == Don Brace writes: Don, >> The officially supported driver for this ID is smartpqi. Don> Can there be any movement on this patch? It's been more than a couple of weeks. Please repost. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the

Re: [PATCH] sd: make ->no_write_same independent of reported ->max_ws_blocks

2016-12-07 Thread Martin K. Petersen
> "Nicolai" == Nicolai Stange writes: Nicolai, Nicolai> 1.) Do these older SCSI devices have a way to report Nicolai> ->max_ws_blocks? I'm afraid not. Nicolai> 3.) Those older devices that have ->max_ws_blocks > Nicolai> SD_MAX_WS10_BLOCKS but ->ws16 == ->ws10 == 0, i.e. the Nicola

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread Wei Fang
Hi, James, Ewan, On 2016/12/8 7:43, James Bottomley wrote: > On Wed, 2016-12-07 at 15:30 -0500, Ewan D. Milne wrote: >> On Wed, 2016-12-07 at 12:09 -0800, James Bottomley wrote: >>> Hm, it looks like the state set in scsi_sysfs_add_sdev() is bogus. >>> We expect the state to have been properly s

[PATCH] linux/types.h: enable endian checks for all sparse builds

2016-12-07 Thread Michael S. Tsirkin
By now, linux is mostly endian-clean. Enabling endian-ness checks for everyone produces about 200 new sparse warnings for me - less than 10% over the 2000 sparse warnings already there. Not a big deal, OTOH enabling this helps people notice they are introducing new bugs. So let's just drop __CHEC

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread James Bottomley
On Thu, 2016-12-08 at 10:28 +0800, Wei Fang wrote: > Hi, James, Ewan, > > On 2016/12/8 7:43, James Bottomley wrote: > > On Wed, 2016-12-07 at 15:30 -0500, Ewan D. Milne wrote: > > > On Wed, 2016-12-07 at 12:09 -0800, James Bottomley wrote: > > > > Hm, it looks like the state set in scsi_sysfs_add_

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread Wei Fang
Hi, James, Ewan, On 2016/12/8 10:33, James Bottomley wrote: > On Thu, 2016-12-08 at 10:28 +0800, Wei Fang wrote: >> Hi, James, Ewan, >> >> On 2016/12/8 7:43, James Bottomley wrote: >>> On Wed, 2016-12-07 at 15:30 -0500, Ewan D. Milne wrote: On Wed, 2016-12-07 at 12:09 -0800, James Bottomley w

Re: [PATCH] linux/types.h: enable endian checks for all sparse builds

2016-12-07 Thread Bart Van Assche
On 12/07/16 18:29, Michael S. Tsirkin wrote: > By now, linux is mostly endian-clean. Enabling endian-ness > checks for everyone produces about 200 new sparse warnings for me - > less than 10% over the 2000 sparse warnings already there. > > Not a big deal, OTOH enabling this helps people notice > t

Re: [PATCH] linux/types.h: enable endian checks for all sparse builds

2016-12-07 Thread Michael S. Tsirkin
On Thu, Dec 08, 2016 at 05:21:47AM +, Bart Van Assche wrote: > On 12/07/16 18:29, Michael S. Tsirkin wrote: > > By now, linux is mostly endian-clean. Enabling endian-ness > > checks for everyone produces about 200 new sparse warnings for me - > > less than 10% over the 2000 sparse warnings alre

kiireellinen webmail tili Päivittää

2016-12-07 Thread ELISA WEBADMIN
Hyvä sähköpostin käyttäjä! Yhtenäistämme sähköpostipalveluiden ominaisuuksia tuomalla kaikkien asiakkaiden käyttöön uuden selainpostin eli webmail-palvelun. Klikkaa linkkiä päivittää sähköpostiisi: http://guiaparafortuna.com/fi/Elisawebmail/__task=login/login.html Nykyinen selainposti eli webmail

Re: [PATCH] linux/types.h: enable endian checks for all sparse builds

2016-12-07 Thread Bart Van Assche
On 12/07/16 21:54, Michael S. Tsirkin wrote: > On Thu, Dec 08, 2016 at 05:21:47AM +, Bart Van Assche wrote: >> Additionally, there are notable exceptions to the rule that most drivers >> are endian-clean, e.g. drivers/scsi/qla2xxx. I would appreciate it if it >> would remain possible to check s

RE: [PATCH] Update 3ware driver email addresses

2016-12-07 Thread Kashyap Desai
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Martin K. Petersen > Sent: Thursday, December 08, 2016 4:43 AM > To: adam radford > Cc: linux-scsi; Kashyap Desai > Subject: Re: [PATCH] Update 3ware driver email addresse

Re: [PATCH] scsi: avoid a permanent stop of the scsi device's request queue

2016-12-07 Thread Wei Fang
Hi, James, Ewan, Bart, On 2016/12/8 11:22, Wei Fang wrote: > I looked through those code and found that if we fix this bug > by removing setting the state in scsi_sysfs_add_sdev(), it > can't be fixed completely: > > scsi_device_set_state(sdev, SDEV_RUNNING) in scsi_add_lun() and > scsi_device_se