Commit 198de51dbc34 ("USB: uas: Limit qdepth at the scsi-host level")
removed the scsi_change_queue_depth() call from uas_slave_configure()
assuming that the slave would inherit the host's queue_depth, which
that commit sets to the same value.
This is incorrect, without the scsi_change_queue_depth
Hi Greg,
There was some discussion about this patch during its initial posting,
but the concensus seems to be that this patch, which is in essence a
partial revert of the patch causing the problem, is the best way to fix
this.
So I'm resending this to make sure it does not fall through the cracks
sas_ata_strategy_handler() adds the works of the ata error handler
to system_unbound_wq. This workqueue asynchronously runs work items,
so the ata error handler will be performed concurrently on different
CPUs. In this case, ->host_failed will be decreased simultaneously in
scsi_eh_finish_cmd() on
Update the new concurrency rules of ->host_failed.
Signed-off-by: Wei Fang
---
Documentation/scsi/scsi_eh.txt |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/scsi/scsi_eh.txt b/Documentation/scsi/scsi_eh.txt
index 8638f61..e6d0de2 100644
--- a/Documentat
Now that we do have pci_request_mem_regions() and pci_release_mem_regions() at
hand, use it in the lpfc driver.
Suggested-by: Christoph Hellwig
Signed-off-by: Johannes Thumshirn
Cc: James Smart
Cc: Dick Kennedy
Cc: "James E.J. Bottomley"
Cc: "Martin K. Petersen"
Cc: linux-scsi@vger.kernel.or
The first patch in this series introduces the following 4 helper functions to
the PCI core:
* pci_request_mem_regions()
* pci_request_io_regions()
* pci_release_mem_regions()
* pci_release_io_regions()
which encapsulate the request and release of a PCI device's memory or I/O
bars.
The subsequent
This patchset introduces 2 separate features/fixes:
- v2 hw ACPI support: implemented the same as v1 hw
- fix inconsistent lock: remove unnecessary spinlock_irqsave()
in broadcast interrupt handler
John Garry (3):
hisi_sas: add v2 hw ACPI support
hisi_sas: fix the inconsistent lock issue rep
It is not necessary to surround call to
notify_port_event(, PORTE_BROADCAST_RCVD) by spin_lock_irqsave(),
so remove.
This was causing a warn, as below:
=
[ INFO: inconsistent lock state ]
4.4.8+ #12 Not tainted
-
i
Add support in v2 hw driver for ACPI.
A check on whether an ACPI handle is available for the device is used to
decide on whether to use ACPI reset handler or syscon for hw reset.
Signed-off-by: John Garry
Signed-off-by: Wei Xu
---
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 68 +++
Signed-off-by: John Garry
---
drivers/scsi/hisi_sas/hisi_sas.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h
index d7cab72..4731d32 100644
--- a/drivers/scsi/hisi_sas/hisi_sas.h
+++ b/drivers/scsi/hisi_sas/h
On Fri, May 6, 2016 at 7:40 AM, Douglas Gilbert wrote:
> Permit changing of a LU name from a (fake) IEEE registered NAA (5)
> to a locally assigned UUID. Using a UUID (RFC 4122) for a SCSI
> designation descriptor (e.g. a LU name) was added in spc5r08.pdf
> (a draft INCITS standard) on 25 January
Linux fails to boot as a guest with a QEMU CD-ROM:
[4.439488] ata2.00: ATAPI: QEMU CD-ROM, 0.8.2, max UDMA/100
[4.443649] ata2.00: configured for MWDMA2
[4.450267] scsi 1:0:0:0: CD-ROMQEMU QEMU CD-ROM 0.8.
PQ: 0 ANSI: 5
[4.464317] ata2.00: exception Emask 0x0
On Tue, May 31, 2016 at 09:42:29AM -0400, Ewan D. Milne wrote:
> Linux fails to boot as a guest with a QEMU CD-ROM:
>
> [4.439488] ata2.00: ATAPI: QEMU CD-ROM, 0.8.2, max UDMA/100
> [4.443649] ata2.00: configured for MWDMA2
> [4.450267] scsi 1:0:0:0: CD-ROMQEMU QEMU CD-
> The "fcp_rsp_code = %d" message isn't an error, it's meant to
> be informative only.
> This patch prevents a flood of such messages in some situations.
>
> Tested-by: Laurence Oberman
> Signed-off-by: Maurizio Lombardi
> ---
> drivers/scsi/bnx2fc/bnx2fc_io.c | 2 +-
> 1 file changed, 1 insertion
On Tue, May 31, 2016 at 04:38:17PM +0800, Wei Fang wrote:
> sas_ata_strategy_handler() adds the works of the ata error handler
> to system_unbound_wq. This workqueue asynchronously runs work items,
Are there more than one error handling work items per host?
Thanks.
--
tejun
--
To unsubscribe fr
On 05/30/2016 01:27 AM, Hannes Reinecke wrote:
> On 05/25/2016 09:55 AM, mchri...@redhat.com wrote:
>> From: Mike Christie
>>
>> Currently, if the SCSI eh runs then before we do a LUN_RESET
>> we stop the host. This patch and the block layer one before it
>> begin to add infrastructure to be able
On 05/31/2016 02:38 PM, Mike Christie wrote:
> On 05/30/2016 01:27 AM, Hannes Reinecke wrote:
>> On 05/25/2016 09:55 AM, mchri...@redhat.com wrote:
>>> From: Mike Christie
>>>
>>> Currently, if the SCSI eh runs then before we do a LUN_RESET
>>> we stop the host. This patch and the block layer one
On 05/30/2016 01:37 AM, Hannes Reinecke wrote:
> On 05/25/2016 09:54 AM, mchri...@redhat.com wrote:
>> Currently, for SCSI LUN_RESETs the target layer can only wait on
>> bio/requests it has sent. This normally results in the LUN_RESET
>> timing out on the initiator side and that SCSI error handler
On 05/31/2016 02:38 PM, Mike Christie wrote:
> On 05/30/2016 01:27 AM, Hannes Reinecke wrote:
>> On 05/25/2016 09:55 AM, mchri...@redhat.com wrote:
>>> From: Mike Christie
>>>
>>> Currently, if the SCSI eh runs then before we do a LUN_RESET
>>> we stop the host. This patch and the block layer one
On 2016-05-30 03:09 PM, Christoph Hellwig wrote:
On Mon, May 30, 2016 at 12:02:45PM -0700, James Bottomley wrote:
This might fix the immediate warning, but won't it demand huge
contiguous memory chunks in high lun configurations and thus fail
randomly? Report luns is important to us because if
In this post: http://www.spinics.net/lists/linux-scsi/msg97124.html
the author shows some kernel infrastructure complaining about a
sleep in an invalid context. Remove offending call to vmalloc().
Instead of using kzalloc() which reviewers didn't like, use a
bucket system (64 bytes on the stack) an
I've been working with iSER trying to maximize performance. I have two
FDR Infiniband cards (three ports total) and I've created multiple
address on the target and configured 12 paths from the initiator. The
iSER target is served up from a RAM disk. With the 4.4 kernel I'm able
to pretty much satur
Hi, Tejun,
On 2016/5/31 22:33, Tejun Heo wrote:
> On Tue, May 31, 2016 at 04:38:17PM +0800, Wei Fang wrote:
>> sas_ata_strategy_handler() adds the works of the ata error handler
>> to system_unbound_wq. This workqueue asynchronously runs work items,
>
> Are there more than one error handling work
> "Muhammad" == Muhammad Falak R Wani writes:
Muhammad> Use kmemdup when some other buffer is immediately copied into
Muhammad> allocated region. It replaces call to allocation followed by
Muhammad> memcpy, by a single call to kmemdup.
Applied to 4.8/scsi-queue.
--
Martin K. Petersen
> "Geert" == Geert Uytterhoeven writes:
Geert> Submitters of device tree binding documentation may forget to CC
Geert> the subsystem maintainer if this is missing.
Applied to 4.8/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the line
> "Joao" == Joao Pinto writes:
Joao> This patch adds license info to the tc-dwc-g210 and ufshcd-dwc
Joao> files in order for them to have access to some ufshcd symbols when
Joao> all are built as modules.
Applied to 4.8/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
--
To
> "Joe" == Joe Lawrence writes:
Joe> There are many error paths in _scsih_sas_host_add that lead to an
Joe> early exit and a few that leave IOC resources uninitialized,
Joe> setting the stage for a later crash.
Applied to 4.8/scsi-queue.
Please make sure to use "mpt3sas: foo bar" in the pat
> "Long" == Long Li writes:
Long,
Long> Yes, this has been fixed in that patch.
I'd like to get my patch into scsi-fixes but it needs another set of
eyes. Would you mind either testing or reviewing it?
Thanks!
--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from thi
> "Maurizio" == Maurizio Lombardi writes:
Maurizio> The "fcp_rsp_code = %d" message isn't an error, it's meant to
Maurizio> be informative only. This patch prevents a flood of such
Maurizio> messages in some situations.
Applied to 4.8/scsi-queue.
--
Martin K. Petersen Oracle Linux En
> "Petros" == Petros Koutoupis writes:
Petros> Note, I did not place the a check for zoned devices in the
Petros> DIF-enabled conditional above, under the assumption that if the
Petros> media supports Type-2 then it should also support the 32-byte
Petros> commands. Thoughts?
That's correct.
On Tue, May 31, 2016 at 1:38 AM, Wei Fang wrote:
> sas_ata_strategy_handler() adds the works of the ata error handler
> to system_unbound_wq. This workqueue asynchronously runs work items,
> so the ata error handler will be performed concurrently on different
> CPUs. In this case, ->host_failed wi
On Tue, May 31, 2016 at 8:21 PM, Dan Williams wrote:
> On Tue, May 31, 2016 at 1:38 AM, Wei Fang wrote:
>> sas_ata_strategy_handler() adds the works of the ata error handler
>> to system_unbound_wq. This workqueue asynchronously runs work items,
>> so the ata error handler will be performed concu
On 27 May 2016 at 10:30, Tom Yan wrote:
> There seems to be some sort of race condition between
> blkdev_issue_zeroout() and the scsi disk driver (disabling write same
> after an illegal request). On my UAS drive, sometimes `blkdiscard -z
> /dev/sdX` will return right away, even though if I then c
On 05/31/2016 09:56 PM, Mike Christie wrote:
> On 05/30/2016 01:37 AM, Hannes Reinecke wrote:
>> On 05/25/2016 09:54 AM, mchri...@redhat.com wrote:
>>> Currently, for SCSI LUN_RESETs the target layer can only wait on
>>> bio/requests it has sent. This normally results in the LUN_RESET
>>> timing ou
尊敬的用戶電子郵件,
您的郵箱已超出其存儲限制由電子郵件管理員設置服務台,您將無法接收新郵件,直到您重新驗證。
點擊這裡:https://twdesk-dtbgv.formstack.com/forms/taiwan_form
在其他的賬號正在使用重新驗證您的電子郵件帳戶。
2016年版權所有台灣現服務支持。
版權所有
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More m
35 matches
Mail list logo