- 03 6月, 2014 3 次提交
-
-
由 James Smart 提交于
Fix locking for postbufq when freeing Signed-off-by: NJames Smart <james.smart@emulex.com> Reviewed-By: NDick Kennedy <dick.kennedy@emulex.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 James Smart 提交于
Fix locking for lpfc_hba_down_post Signed-off-by: NJames Smart <james.smart@emulex.com> Reviewed-By: NDick Kennedy <dick.kennedy@emulex.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 James Smart 提交于
Fix dynamic transitions of FirstBurst from on to off Signed-off-by: NJames Smart <james.smart@emulex.com> Reviewed-By: NDick Kennedy <dick.kennedy@emulex.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
- 02 6月, 2014 21 次提交
-
-
由 Stephen M. Cameron 提交于
Make return value an int instead of an unsigned char so that we do not lose negative error return values. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NWebb Scales <webb.scales@hp.com> Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
They are annoying and do not help anyone. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NJustin Lindley <justin.lindley@hp.com> Reviewed-by: NMike Miller <michael.miller@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
It shouldn't happen that we get a check condition with no sense data, but if it does, we shouldn't just drop the check condition on the floor. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NJustin Lindley <justin.lindley@hp.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NJustin Lindley <justin.lindley@hp.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
CTLR_STATE_CHANGE_EVENT and CTLR_STATE_CHANGE_EVENT_REDUNDANT_CNTRL do not require rescans to be initiated. Current firmware filters out these events already, but some out of date firmware doesn't, so the driver needs to filter them out too. Without this change and with out of date firmware you may see the driver spending a lot of time scanning devices unnecessarily on some Smart Arrays. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NJustin Lindley <justin.lindley@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
There's nothing the user can or should do about these messages, the commands are retried down the normal RAID path, and the messages just flood the logs and sap performance. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NJoe Handzik <joseph.t.handzik@hp.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NJoe Handzik <joseph.t.handzik@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NJoe Handzik <joseph.t.handzik@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
for controllers which support either of the ioaccel transport methods. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Reviewed-by: NJoe Handzik <joseph.t.handzik@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
Avoid excessive locking by using per-cpu variable for lockup_detected Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NScott Teel <scott.teel@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Reviewed-by: NScott Teel <scott.teel@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
Now that we can allocate more than 4 reply queues (up to 64) we shouldn't try to make them share the same allocation but should allocate them separately. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Reviewed-by: NScott Teel <scott.teel@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
No sense having 8 or 16 reply queues if you only have 4 cpus, and likewise no sense limiting to 8 reply queues if you have many more cpus. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Reviewed-by: NScott Teel <scott.teel@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
They are not completely free of cost when disabled and when enabled emitting debug output for every command submitted produces far too much output to be useful. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Reviewed-by: NWebb Scales <webb.scales@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NWebb Scales <webb.scales@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Justin Lindley 提交于
After 3.22 firmware, PMC firmware guys tell us the previous 5 second delay after a reset now needs to be 10 secs to avoid a PCIe error due to the driver looking at the controller too soon after the reset. Signed-off-by: NJustin Lindley <justin.lindley@hp.com> Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
Treat the the data direction bits as a bit mask allowing both READ and WRITE at the same time instead of testing for equality to see if it's a exclusively a READ or a WRITE. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Reviewed-by: NWebb Scales <webb.scales@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Stephen M. Cameron 提交于
The fields "major", "max_outstanding", and "usage_count" of struct ctlr_info were not used for anything. Signed-off-by: NStephen M. Cameron <scameron@beardog.cce.hp.com> Reviewed-by: NMike Miller <michael.miller@canonical.com> Reviewed-by: NWebb Scales <webb.scales@hp.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Ben Hutchings 提交于
Matt Taggart reported that mvsas didn't bind to the Marvell SAS controller on a Supermicro AOC-SAS2LP-MV8 board. lspci reports it as: 01:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. Device [1b4b:9485] (rev 03) Subsystem: Marvell Technology Group Ltd. Device [1b4b:9485] [...] Add it to the device table as chip_9485. Signed-off-by: NBen Hutchings <ben@decadent.org.uk> Reported-by: NMatt Taggart <taggart@debian.org> Tested-by: NMatt Taggart <taggart@debian.org> Acked-By: NJan "Yenya" Kasprzak <kas@fi.muni.cz> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Christoph Hellwig 提交于
This reverts commit 11206081. Based on comments from Mike Christie and Sony John-N.
-
- 29 5月, 2014 16 次提交
-
-
由 Paul Bolle 提交于
The acornscsi driver was added in v2.1.88. It has always #undef-ed CONFIG_SCSI_ACORNSCSI_LINK near the top of acornscsi.c. And, just to be sure, it has also always triggered a preprocessor error if CONFIG_SCSI_ACORNSCSI_LINK was still defined. But, as far as I can see, it has never even been possible to set SCSI_ACORNSCSI_LINK through kconfig, or its predecessors, in the first place. Let's remove the code involved. Signed-off-by: NPaul Bolle <pebolle@tiscali.nl> Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk> Acked-by: NHannes Reinecke <hare@suse.de> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Finn Thain 提交于
This is the delta between the two submissions: [PATCH 00/12] scsi/NCR5380: fix debugging macros and #include structure and [PATCH v2 00/12] scsi/NCR5380: fix debugging macros and #include structure The macro definition changes were discussed on the mailing list during review. The idea is to get the compiler to check the parameters of disabled printk() calls so that the debugging code doesn't rot again. Signed-off-by: NFinn Thain <fthain@telegraphics.com.au> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Matthew Wilcox 提交于
Reusing a smid quickly means it's still cache-hot. This yields a small but noticable performance improvement in a well-known database benchmark. This improvement is already present in the mpt3sas driver. Signed-off-by: NMatthew Wilcox <matthew.r.wilcox@intel.com> Reviewed-by: NNicholas Bellinger <nab@linux-iscsi.org> Reviewed-by: NPraveen Krishnamoorthy <Praveen.krishnamoorthy@lsi.com> Acked-by: NSreekanth Reddy <Sreekanth.reddy@lsi.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Matthew Wilcox 提交于
Removing the host_lock from the I/O submission path gives a huge scalability improvement. Signed-off-by: NMatthew Wilcox <matthew.r.wilcox@intel.com> Reviewed-by: NNicholas Bellinger <nab@linux-iscsi.org> Reviewed-by: NPraveen Krishnamoorthy <Praveen.krishnamoorthy@lsi.com> Acked-by: NSreekanth Reddy <Sreekanth.reddy@lsi.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Matthew Wilcox 提交于
The mpt2sas_scsih_issue_tm() function does not use the 'serial_number' argument passed to it. Removing it removes the last vestiges of the scsi_cmnd's serial_number field from this driver. Signed-off-by: NMatthew Wilcox <matthew.r.wilcox@intel.com> Reviewed-by: NNicholas Bellinger <nab@linux-iscsi.org> Reviewed-by: NPraveen Krishnamoorthy <Praveen.krishnamoorthy@lsi.com> Acked-by: NSreekanth Reddy <Sreekanth.reddy@lsi.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Matthew Wilcox 提交于
Removing the host_lock from the I/O submission path gives a huge scalability improvement. Signed-off-by: NMatthew Wilcox <matthew.r.wilcox@intel.com> Reviewed-by: NNicholas Bellinger <nab@linux-iscsi.org> Reviewed-by: NPraveen Krishnamoorthy <Praveen.krishnamoorthy@lsi.com> Acked-by: NSreekanth Reddy <Sreekanth.reddy@lsi.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Matthew Wilcox 提交于
The mpt3sas_scsih_issue_tm() function does not use the 'serial_number' argument passed to it. Removing it removes the last vestiges of the scsi_cmnd's serial_number field from this driver. Signed-off-by: NMatthew Wilcox <matthew.r.wilcox@intel.com> Reviewed-by: NNicholas Bellinger <nab@linux-iscsi.org> Reviewed-by: NPraveen Krishnamoorthy <Praveen.krishnamoorthy@lsi.com> Acked-by: NSreekanth Reddy <Sreekanth.reddy@lsi.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Benoit Taine 提交于
This issue was reported by coccicheck using the semantic patch at scripts/coccinelle/api/memdup.cocci Signed-off-by: NBenoit Taine <benoit.taine@lip6.fr> Acked-by: NSaurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Benoit Taine 提交于
This issue was reported by coccicheck using the semantic patch at scripts/coccinelle/api/memdup.cocci Signed-off-by: NBenoit Taine <benoit.taine@lip6.fr> Acked-by: NVikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Dan Carpenter 提交于
There are missing curly braces here so it prints that the recovery failed even when it succeeded. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NGiridhar Malavali <giridhar.malavali@qlogic.com> Acked-by: NChad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Jayamohan Kallickal 提交于
Bumping the driver version. Signed-off-by: NJohn Soni Jose <sony.john-n@emulex.com> Signed-off-by: NJayamohan Kallickal <jayamohan.kallickal@emulex.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Jayamohan Kallickal 提交于
During heavy IO in multipath environment with many active sessions and port-bouncing happening, there is a race condition because of which beiscsi_prcess_cqe() gets called for a connection whose endpoint is freed. Checking endpoint reference for a connection before processing in beiscsi_process_cq(). Signed-off-by: NMinh Tran <minhduc.tran@emulex.com> Signed-off-by: NJohn Soni Jose <sony.john-n@emulex.com> Signed-off-by: NJayamohan Kallickal <jayamohan.kallickal@emulex.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Jayamohan Kallickal 提交于
EQ teardown should happen only after all CQ are destroyed. In some FW config, adapter goes into a freeze state. This fix moves teardown of MCC-Q before the EQ teardown happens. Signed-off-by: NJohn Soni Jose <sony.john-n@emulex.com> Signed-off-by: NJayamohan Kallickal <jayamohan.kallickal@emulex.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Jayamohan Kallickal 提交于
From: Dan Carpenter [mailto:dan.carpenter@oracle.com] Sent: Friday, March 28, 2014 1:42 AM Subject: re: [SCSI] be2iscsi: Fix handling timed out MBX completion from FW Hello Jayamohan Kallickal, The patch 1957aa7f: "[SCSI] be2iscsi: Fix handling timed out MBX completion from FW" from Jan 29, 2014, leads to the following static checker warning: drivers/scsi/be2iscsi/be_main.c:5581 beiscsi_dev_probe() error: memset() '&phba->ctrl.ptag_state[i]->tag_mem_state' too small (24 vs 32) drivers/scsi/be2iscsi/be_main.c 5576 for (i = 0; i < MAX_MCC_CMD; i++) { 5577 init_waitqueue_head(&phba->ctrl.mcc_wait[i + 1]); 5578 phba->ctrl.mcc_tag[i] = i + 1; 5579 phba->ctrl.mcc_numtag[i + 1] = 0; 5580 phba->ctrl.mcc_tag_available++; 5581 memset(&phba->ctrl.ptag_state[i].tag_mem_state, 0, 5582 sizeof(struct beiscsi_mcc_tag_state)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Probably this this be change to sizeof(struct be_dma_mem struct)? It looks like we are corrupting memory a bit here. 5583 } regards, dan carpenter Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NJohn Soni Jose <sony.john-n@emulex.com> Signed-off-by: NJayamohan Kallickal <jayamohan.kallickal@emulex.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Jayamohan Kallickal 提交于
SKH-R adapter, TCP Window Size/Scale parameters are passed in TCP Connection Offload Mbx Command. Signed-off-by: NMinh Tran <minhduc.tran@emulex.com> Signed-off-by: NJohn Soni Jose <sony.john-n@emulex.com> Signed-off-by: NJayamohan Kallickal <jayamohan.kallickal@emulex.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-
由 Jayamohan Kallickal 提交于
Signed-off-by: NMinh Tran <minhduc.tran@emulex.com> Signed-off-by: NJohn Soni Jose <sony.john-n@emulex.com> Signed-off-by: NJayamohan Kallickal <jayamohan.kallickal@emulex.com> Signed-off-by: NChristoph Hellwig <hch@lst.de>
-