On Wed, May 2, 2018 at 9:21 AM, Martin K. Petersen
wrote:
>
> Hi Chaitra,
>
>>> for (i = 0; i < ioc->combined_reply_index_count; i++) {
>>> -ioc->replyPostRegisterIndex[i] = (resource_size_t
>> *)
>>> - ((u8 *)&ioc->chip->Doorbell +
>>> +
Hi Chaitra,
>> for (i = 0; i < ioc->combined_reply_index_count; i++) {
>> -ioc->replyPostRegisterIndex[i] = (resource_size_t
> *)
>> - ((u8 *)&ioc->chip->Doorbell +
>> +ioc->replyPostRegisterIndex[i] =
>> +
Colin,
> Trivial fix to spelling mistake in module parameter description text
Ditto. Also hand-applied to 4.18/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
Colin,
> Trivial fix to spelling mistake in module parameter description text
Mangled patch. Applied by hand.
--
Martin K. Petersen Oracle Linux Engineering
Colin,
> Trivial fix to spelling mistake in module description text
Applied to 4.18/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
Colin,
> The sanity check on u->in_connection_align_insertion_frequency is
> being performed twice and hence the first check can be removed since
> it is redundant. Cleans up cppcheck warning:
>
> drivers/scsi/ibmvscsi/ibmvscsi.c:1711: (warning) Identical inner 'if'
> condition is always true.
A
Dave,
> commit b60710ec7d7ab ("aacraid: enable sending of TMFs from aac_hba_send()")
>
> allows aac_hba_send() to send scsi commands, and TMF requests, but the
> existing
> code only updates the iu_type for scsi commands. For TMF requests we are
> sending
> an unknown iu_type to firmware, which
Jim,
> The vmw_pvscsi driver returns DID_ABORT for commands aborted internally
> by the adapter, leading to the filesystem going read-only. Change the
> result to DID_BUS_BUSY, causing the kernel to retry the command.
Applied to 4.17/scsi-fixes, thanks!
--
Martin K. Petersen Oracle Linux
use new netlink events helpers tcmu_netlink_init() and
tcmu_netlink_send() to refactor netlink event attribute
TCMU_ATTR_DEV_CFG(belongs to TCMU_CMD_RECONFIG_DEVICE)
which is also dev_config in configFS.
Signed-off-by: Zhu Lingshan
---
Changes in V2:
- return tcmu_netlink_event_send() directly,
use new netlink events helpers tcmu_netlink_init() and
tcmu_netlink_send() to refactor netlink event attribute
TCMU_ATTR_DEV_SIZE(belongs to TCMU_CMD_RECONFIG_DEVICE)
which is also dev_size in configFS.
Signed-off-by: Zhu Lingshan
---
Changes in V2:
- return tcmu_netlink_event_send() directly,
use new netlink events helpers tcmu_netlink_init() and
tcmu_netlink_send() to refactor netlink event attribute
TCMU_ATTR_WRITECACHE(belongs to TCMU_CMD_RECONFIG_DEVICE)
which is also emulate_write_cache in configFS.
Removed tcmu_netlink_event() since we have new netlink
events helpers now.
Signed
use new netlink events helpers tcmu_netlink_init() and
tcmu_netlink_send() to refactor netlink event
TCMU_CMD_REMOVED_DEVICE
Signed-off-by: Zhu Lingshan
---
Changes in V2:
- return tcmu_netlink_event_send() directly, instead of a ret value.
drivers/target/target_core_user.c | 16 +
use new netlink events helpers tcmu_netlink_init() and
tcmu_netlink_send() to refactor netlink event
TCMU_CMD_ADDED_DEVICE
Signed-off-by: Zhu Lingshan
---
Changes in V2:
- return tcmu_netlink_event_send() directly, instead of a ret value.
drivers/target/target_core_user.c | 17 +++
Add new netlink events helpers tcmu_netlink_event_init() and
tcmu_netlink_event_send(). These new functions intend to replace
exsiting netlink events helper function tcmu_netlink_event().
The exsiting function tcmu_netlink_event() works well for events
like TCMU_ADDED_DEVICE and TCMU_REMOVED_DEVIC
Christoph,
> All three instance of ->smp_handler deal with highmem backed requests
> just fine.
Applied to 4.18/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
Any comments on the new patch (which, I think, addresses the concern
about module being stuck in unloadable state forever; if not, there
would be a leak in the bsg layer)? Or on dropping a reference
to bsg_class_device's parent early before the bsg_class_device
itself is gone, to implement James's
Signed-off-by: Himanshu Madhani
---
drivers/scsi/qla2xxx/qla_init.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 3405cb9031b6..1aa3720ea2ed 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi
From: Quinn Tran
Signed-off-by: Quinn Tran
Signed-off-by: Himanshu Madhani
---
drivers/scsi/qla2xxx/qla_init.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 792c09470c5a..3405cb9031b6 100644
--- a/drivers/scsi/qla2xxx
Signed-off-by: Himanshu Madhani
---
drivers/scsi/qla2xxx/qla_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/qla2xxx/qla_version.h
b/drivers/scsi/qla2xxx/qla_version.h
index 0c55d7057280..1ad7582220c3 100644
--- a/drivers/scsi/qla2xxx/qla_version.h
+++
From: Quinn Tran
When a connection is established, the target core session
may not be created immediately. Current code will drop/terminate
the command based on the session state. This patch will return
BUSY status for any commands arriving on wire before the session
is created.
Signed-off-by: Q
From: Quinn Tran
For target mode, task management command is queued to specific
cpu base on where the scsi command is residing. This prevent
race condition of task management command getting ahead of
regular scsi command.
Signed-off-by: Quinn Tran
Signed-off-by: Himanshu Madhani
---
drivers/
From: Quinn Tran
This patch fixes rport state and session state getting
out of sync.
Signed-off-by: Quinn Tran
Signed-off-by: Himanshu Madhani
---
drivers/scsi/qla2xxx/qla_target.c | 30 --
1 file changed, 12 insertions(+), 18 deletions(-)
diff --git a/drivers/scs
From: Quinn Tran
Move GPSC & GFPNID commands out of session management to reduce
time lag in reporting the session state to remote port. These
commands are not essential when it comes to maintaining the
rport state. Delay sending these commands after rport state is
set to Online.
Signed-off-by:
From: Quinn Tran
This patch fixes regression introduced by commit a4239945b8ad
("scsi: qla2xxx: Add switch command to simplify fabric discovery").
to schedule session deletion, when Nport ID changes.
Fixes: a4239945b8ad ("scsi: qla2xxx: Add switch command to simplify fabric
discovery")
Cc:
Sig
From: Quinn Tran
For each RSCN that triggers a rescan of the fabric,
ADISC is used to revalidate an existing session. if the
RSCN is not affecting all existing sessions, then driver
should not send redundant ADISC for all existing sessions.
Signed-off-by: Quinn Tran
Signed-off-by: Himanshu Madh
Hi Martin,
This series contains updates for driver.
Please apply this to 4.18 scsi-misc branch at your earliest convenience.
Thanks,
Himanshu
Himanshu Madhani (3):
qla2xxx: Add Laser Control for ISP26XX/27XX
qla2xxx: Prevent relogin loop by removing stale code
qla2xxx: Update driver vers
From: Himanshu Madhani
This patch disables laser while unloading driver for 16/32G adapters.
Signed-off-by: Himanshu Madhani
---
drivers/scsi/qla2xxx/qla_def.h| 7
drivers/scsi/qla2xxx/qla_fw.h | 2 ++
drivers/scsi/qla2xxx/qla_inline.h | 22
drivers/scsi/qla2xxx/qla
From: Quinn Tran
This patch fixes login_retry login for ADISC command.
when login_retry count reaches 0, futher attempt to send
ADISC command is ignored by the code. Remove this redundant
login_retry count check from qla24xx_fcport_handle_login()
Signed-off-by: Quinn Tran
Signed-off-by: Himans
From: Quinn Tran
o Uses predefine inline function to access add_cdb_len field
in ATIO.
o Return SS_RESIDUAL_UNDER status when sending BUSY
Signed-off-by: Quinn Tran
Signed-off-by: Himanshu Madhani
---
drivers/scsi/qla2xxx/qla_target.c | 17 +++--
1 file changed, 7 insertions(+), 1
29 matches
Mail list logo