linux-scsi mailing list

FromSubjectsort iconDate
giridhar.malavali
[PATCH 00/16] qla2xxx: Updates for scsi-misc-2.6.
From: Giridhar Malavali <giridhar.malavali@qlogic.com> James, Please apply these patches. Andrew Vasquez (5): qla2xxx: Check for ISP84xx before processing to get 84xx firmware version. qla2xxx: Display proper link state for disconnected ports. qla2xxx: Further generalization of SRB CTX infrastructure. qla2xxx: Limit mailbox command contention for ADISC requests. qla2xxx: Cleanup FCP-command-status processing debug statements. Arun Easi (1): qla2xxx: T10 DIF support ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 04/16] qla2xxx: Add char device to increase drive ...
From: Harish Zunjarrao <harish.zunjarrao@qlogic.com> The driver should not be unloaded if any application is using it. To disallow driver unload, driver use count must be incremented. Application uses this char device as handle and increases driver use count to avoid possible driver unload. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_def.h | 3 ++- drivers/scsi/qla2xxx/qla_os.c | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 11/16] qla2xxx: Silence bogus warning by gcc for ...
From: Mike Waychison <mikew@google.com> The qla2xxx driver uses a port_id_t to mark the start of its enumerations. gcc is complaining that wrap.b24 may be used uninitialized, but this doesn't look to be possible. Silence it. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_init.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index e78089d..7fd1344 ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 13/16] qla2xxx: Optionally disable target reset.
From: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_gbl.h | 1 + drivers/scsi/qla2xxx/qla_os.c | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index 3e946da..8217c3b 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h @@ -96,6 +96,7 @@ extern int ql2xdontresethba; ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 12/16] qla2xxx: ensure flash operation and host r ...
From: Lalit Chandivade <lalit.chandivade@qlogic.com> The problem occurring is a hw-race where there's an outstanding read-flash operation occurring while the chip is being reset (done via an sg_reset script). After the chip is paused, the read-flash operation never completes and the DPC thread, while trying to complete the reset, is never able to recover, as the HW appears to be hung... The fix is to wait for outstanding flash operation prior to doing a sg_reset -h. And to wait for reset to ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 01/16] qla2xxx: Check for ISP84xx before processi ...
From: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_attr.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index c272af4..d416c35 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c @@ -1198,9 +1198,11 @@ qla24xx_84xx_fw_version_show(struct device *dev, scsi_qla_host_t ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 16/16] qla2xxx: Update version number to 8.03.03-k0.
From: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_version.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_version.h b/drivers/scsi/qla2xxx/qla_version.h index 109068d..9b49b08 100644 --- a/drivers/scsi/qla2xxx/qla_version.h +++ b/drivers/scsi/qla2xxx/qla_version.h @@ -7,9 +7,9 @@ /* * Driver version */ -#define QLA2XXX_VERSION ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 07/16] qla2xxx: Cleanup FCP-command-status proces ...
From: Andrew Vasquez <andrew.vasquez@qlogic.com> Migrate to a consistent set of debug entries during status-IOCB handling: * group CS_TIMEOUT handling with CS_PORT_UNAVAILABLE and the like (more regrouping of common behaviour). * drop CS_DATA_OVERRUN handling as it now falls into the 'default' case (still returns DID_ERROR). * consolidate CS_RESET and CS_ABORTED handling, as we the only functional difference was a printk() (still returns DID_RESET). * dropped all the earlier ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 05/16] qla2xxx: Further generalization of SRB CTX ...
From: Andrew Vasquez <andrew.vasquez@qlogic.com> Prepare CTX infrastructure for additional asynchronous executions, add generic done() operator, pull CMD definitions. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_def.h | 17 ++++++--- drivers/scsi/qla2xxx/qla_init.c | 43 +++++++++++++++++----- drivers/scsi/qla2xxx/qla_isr.c | 74 +++++++++++---------------------------- 3 files ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 09/16] qla2xxx: Support for asynchronous TM and M ...
From: Madhuranath Iyengar <madhuranath.iyengar@qlogic.com> Currently we can only issue the task management (TM) commands via the mailbox mechanism. This is a limitation, since only one mailbox command can be issued at a time. The purpose of this effort is to provide support for issuing and processing the respose to TM and Marker IOCBs asynchronously. Towards achieving this, the consolidated srb architecture that is currently used for BSG and IOCB/Logio commands has been enhanced and ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 08/16] qla2xxx: Provide common framework for BSG ...
From: Madhuranath Iyengar <madhuranath.iyengar@qlogic.com> Currently, BSG and IOCB/Logio commands have a different framework (srb structs). The purpose of this effort is to consolidate them into a generalized framework for these as well as other asynchronous operations in the future. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_bsg.c | 28 ++++---- drivers/scsi/qla2xxx/qla_def.h | 48 +++++++------- drivers/scsi/qla2xxx/qla_gbl.h | ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 06/16] qla2xxx: Limit mailbox command contention ...
From: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_def.h | 7 +++ drivers/scsi/qla2xxx/qla_gbl.h | 8 ++++ drivers/scsi/qla2xxx/qla_init.c | 88 ++++++++++++++++++++++++++++++++++++--- drivers/scsi/qla2xxx/qla_iocb.c | 39 ++++++++++++++++- drivers/scsi/qla2xxx/qla_isr.c | 33 +++++++------- drivers/scsi/qla2xxx/qla_os.c | 31 ++++++++++++- 6 files changed, 178 insertions(+), 28 ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 15/16] qla2xxx: Add internal loopback support for 81XX
From: Sarang Radke <sarang.radke@qlogic.com> Signed-off-by: Sarang Radke <sarang.radke@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_bsg.c | 174 +++++++++++++++++++++++++++++++++++++--- drivers/scsi/qla2xxx/qla_bsg.h | 7 ++ drivers/scsi/qla2xxx/qla_def.h | 4 + drivers/scsi/qla2xxx/qla_gbl.h | 5 + drivers/scsi/qla2xxx/qla_isr.c | 7 +- drivers/scsi/qla2xxx/qla_mbx.c | 66 +++++++++++++++ ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 14/16] qla2xxx: Updates to ISP82xx support.
From: Giridhar Malavali <giridhar.malavali@qlogic.com> 1) Allow transition to NEED RESET state only from READY state for ISP82xx. 2) Avoid infinite ISP aborts when chip reset fails. 3) Code cleanup to remove some of the unused debug code. Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com> Signed-off-by: Santosh Vernekar <santosh.vernekar@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_def.h | 2 - ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 02/16] qla2xxx: Display proper link state for dis ...
From: Andrew Vasquez <andrew.vasquez@qlogic.com> With qla2xxx using mid-layer async-scsi-scanning, the link state for disconnected port is displayed wrong. Additional check for cable presence is considered to display proper link state. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_attr.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 10/16] qla2xxx: T10 DIF support added.
From: Arun Easi <arun.easi@qlogic.com> Signed-off-by: Duane Grigsby <duane.grigsby@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_attr.c | 16 + drivers/scsi/qla2xxx/qla_dbg.c | 58 ++++ drivers/scsi/qla2xxx/qla_dbg.h | 10 + drivers/scsi/qla2xxx/qla_def.h | 84 +++++- drivers/scsi/qla2xxx/qla_fw.h | 47 +++- drivers/scsi/qla2xxx/qla_gbl.h | 4 + drivers/scsi/qla2xxx/qla_inline.h | 16 + ...
May 4, 3:01 pm 2010
giridhar.malavali
[PATCH 03/16] qla2xxx: Clear error status after uncorrec ...
From: Lalit Chandivade <lalit.chandivade@qlogic.com> Currently error status is cleared only after the uncorrectable fatal errors in the qla2xxx_pci_slot_reset. This fix is added to clear the error status in qla2xxx_pci_resume. This way for both fatal and non-fatal errors the error status gets cleared properly. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=572258 Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> --- drivers/scsi/qla2xxx/qla_os.c | 3 ++- 1 files ...
May 4, 3:01 pm 2010
Randy Dunlap
[PATCH] scsi: fix bnx2i build errors
From: Randy Dunlap <randy.dunlap@oracle.com> bnx2i should depend on NET since it selects SCSI_ISCSI_ATTRS, which depends on NET. Also move the dependencies together. The "depends" change fixes multiple build errors when CONFIG_NET is not enabled: ERROR: "skb_trim" [drivers/scsi/scsi_transport_iscsi.ko] undefined! ERROR: "netlink_kernel_create" [drivers/scsi/scsi_transport_iscsi.ko] undefined! ERROR: "netlink_kernel_release" [drivers/scsi/scsi_transport_iscsi.ko] undefined! ERROR: ...
May 4, 10:30 am 2010
James Bottomley
Re: [PATCH] scsi: fix cxgb3i build errors
Something's seriously wrong here. CHELSIO_T3_DEPENDS is supposed to be the rollup for all the dependencies. It's actually defined as this: config CHELSIO_T3_DEPENDS tristate depends on PCI && INET default y INET is the tcp/ip stack ... so how did you build a kernel that has NET=n and INET=y (it's guarded by an #if NET in the Kconfig file)? James --
May 4, 10:36 am 2010
Randy Dunlap
[PATCH] scsi: fix cxgb3i build errors
From: Randy Dunlap <randy.dunlap@oracle.com> cxgb3i should depend on NET since it selects SCSI_ISCSI_ATTRS, which depends on NET. This change fixes multiple build (link) errors: ERROR: "skb_trim" [drivers/scsi/scsi_transport_iscsi.ko] undefined! ERROR: "netlink_kernel_create" [drivers/scsi/scsi_transport_iscsi.ko] undefined! ERROR: "netlink_kernel_release" [drivers/scsi/scsi_transport_iscsi.ko] undefined! ERROR: "skb_pull" [drivers/scsi/scsi_transport_iscsi.ko] undefined! ERROR: "init_net" ...
May 4, 10:28 am 2010
Randy Dunlap
Re: [PATCH] scsi: fix cxgb3i build errors
Hm, I managed to do that somehow, but I didn't save the Kconfig file and I can't make it happen again, so just drop this patch. Thanks. -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
May 4, 2:52 pm 2010
Randy Dunlap
[PATCH] scsi: fix be2iscsi build
From: Randy Dunlap <randy.dunlap@oracle.com> be2iscsi driver should #include linux/if_ether.h since it uses sysfs_format_mac(). It should also depend on NET since it selects SCSI_ISCSI_ATTRS, which depends on NET. These changes fix a build error when CONFIG_NET is not enabled: ERROR: "sysfs_format_mac" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Jayamohan Kallickal <jayamohank@serverengines.com> --- ...
May 4, 10:29 am 2010
Randy Dunlap
[PATCH] scsi: fix pmcraid build errors
From: Randy Dunlap <randy.dunlap@oracle.com> pmcraid should depend on NET since it uses netlink interfaces. This fixes multiple build errors when CONFIG_NET is not enabled: ERROR: "genl_register_family" [drivers/scsi/pmcraid.ko] undefined! ERROR: "genl_unregister_family" [drivers/scsi/pmcraid.ko] undefined! ERROR: "nla_put" [drivers/scsi/pmcraid.ko] undefined! ERROR: "init_net" [drivers/scsi/pmcraid.ko] undefined! ERROR: "__alloc_skb" [drivers/scsi/pmcraid.ko] undefined! ERROR: ...
May 4, 10:29 am 2010
Hannes Reinecke
[PATCH] Enable retries for SYNCRONIZE_CACHE commands
sd is using SYNCHRONIZE_CACHE to simulate barrier requests; however no error recovery is taking place as it's being injected from the block layer. So we should be enable retries here to clear any transient error. Signed-off-by: Hannes Reinecke <hare@suse.de> --- drivers/scsi/sd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 8b827f3..de6c603 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -1040,6 +1040,7 ...
May 4, 7:49 am 2010
James Bottomley
Re: [PATCH] Retry commands with UNIT_ATTENTION sense codes
Ah, yes, missed that. However there are other problems then. We can't just eat all unit attentions on the BLOCK_PC path because some of the user programs want to see them (CD burners for one). I know the patch allows some to proceed upwards, but it's risky making all except device not started do a retry. I'm a bit stumped on this one ... the intention of BLOCK_PC is that the caller simply retries if they get a unit attention (which is what all SCSI code does). The block code doesn't ...
May 4, 1:30 pm 2010
Hannes Reinecke
[PATCH] Retry commands with UNIT_ATTENTION sense codes
We have to enable retries for UNIT_ATTENTION sense codes, as a command might've been injected from the block layer (eg barrier requests). And for those no error recovers takes place, so we need to make sure that the SCSI midlayer corrects any transient errors. Signed-off-by: Hannes Reinecke <hare@suse.de> --- drivers/scsi/scsi_error.c | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index ...
May 4, 7:48 am 2010
Mike Christie
Re: [PATCH] Retry commands with UNIT_ATTENTION sense codes
The request is sent as a REQ_TYPE_BLOCK_PC (this flag is set for the request in sd_prepare_flush), and scsi_io_completion's blk_pc_request check() that returns the request upwards is before the UNIT_ATTENTION check one so we never hit the UNIT_ATTENTION check. --
May 4, 1:15 pm 2010
Mike Christie
Re: [PATCH] Retry commands with UNIT_ATTENTION sense codes
I was looking at the wrong source. scsi_finish_command checks for REQ_TYPE_BLOCK_PC and sets good_bytes to scsi_bufflen, so when scsi_io_completion calls scsi_end_request, it --
May 4, 1:27 pm 2010
James Bottomley
Re: [PATCH] Retry commands with UNIT_ATTENTION sense codes
The other patch is fine, but I don't think this is necessary. The reason is that even returning SUCCESS here, we go straight into scsi_finish_command() (which passes it up to the driver handler) and then scsi_io_completion(). There's a catch for UNIT_ATTENTION in scsi_io_completion which will still cause a retry provided the driver handler hasn't done any alterations, so I think we'd still get the retry with only your other patch. James --
May 4, 9:26 am 2010
James Bottomley
Re: [PATCH] Retry commands with UNIT_ATTENTION sense codes
I tried this, it gets very messy in block, so it looks to be a hack too far. What about this then ... it only retries UAs for barrier commands (thus preserving standard semantics for SG_IO requests)? James --- diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index d45c69c..7ad53fa 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -302,7 +302,20 @@ static int scsi_check_sense(struct scsi_cmnd *scmd) if (scmd->device->allow_restart && ...
May 4, 1:51 pm 2010
James Bottomley
Re: SYNCHRONIZE_CACHE command is not retried
The actual powers that be are on holiday at the moment, I'm just the dog sitter. However, I don't think looping forever on unit attention is a good idea (there are known error cases where devices return unit attention forever). If the device has device mapper stuff, there should already be a device_handler module intercepting this sense code, so we shouldn't switch paths because of it. If there's no device mapper, I think I'd really rather just add the usual number of retries to the ...
May 4, 7:33 am 2010
Bernd Schubert
Re: SYNCHRONIZE_CACHE command is not retried
Interesting that suddenly several people run into it, when I already noticed long ago. Hmm, you work for Suse, maybe you now got the ticket I have asked our customer about to open for their SLES system? ;) Recent discussion is here: http://kerneltrap.org/mailarchive/linux-scsi/2010/4/19/6884638 Sorry, I didn't have time yet to update the patch there. Cheers, Bernd --
May 4, 5:53 am 2010
Hannes Reinecke
SYNCHRONIZE_CACHE command is not retried
Hi all, I'm facing an issue here where the 'SYNCHRONIZE CACHE' command is not retried: [ 652.602637] sd 0:0:0:0: [sda] Send: [ 652.602640] sd 0:0:0:0: [sda] CDB: Synchronize Cache(10): 35 00 00 00 00 00 00 00 00 00 [ 652.604943] sd 0:0:0:0: [sda] Done: SUCCESS [ 652.604947] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_OK [ 652.604951] sd 0:0:0:0: [sda] CDB: Synchronize Cache(10): 35 00 00 00 00 00 00 00 00 00 [ 652.604958] sd 0:0:0:0: [sda] Sense Key : Unit Attention ...
May 4, 5:23 am 2010
Hannes Reinecke
Re: SYNCHRONIZE_CACHE command is not retried
Well, yes, and no. Your patch focussed primarily about the SYNC CACHE command as sent from eg. sd_suspendI() There it's quite easy as I just have to intercept the return values and everything's dandy. sd_prepare_flush(), OTOH, just prepares the command and hopes the lower levels will to the right thing. Which, apparently, they don't. And setting 'retries' or 'timeout' wouldn't help here at all, as we're never evaluating the number of retries; scsi_check_sense() returns 'SUCCESS', ...
May 4, 6:07 am 2010
bugzilla-daemon
[Bug 14831] mptsas - Use of ATA command pass-through res ...
https://bugzilla.kernel.org/show_bug.cgi?id=14831 --- Comment #17 from Brian Sullivan <bexamous@gmail.com> 2010-05-04 09:15:45 --- No way, issue is fixed! After waiting for months I lose hope and order a mpt2sas controller. The next day issue is fixed. Argh! lol :) Without patch, running hddtemp in loop on 15 drives would last maybe 5-10 seconds before controller would crap out. With patch its been going for at least 20 minutes now without issue. I put a load on the controller ...
May 4, 2:16 am 2010
bugzilla-daemon
[Bug 14831] mptsas - Use of ATA command pass-through res ...
https://bugzilla.kernel.org/show_bug.cgi?id=14831 --- Comment #16 from kdesai <kashyap.desai@lsi.com> 2010-05-04 05:16:28 --- I am doing my analysis and meanwhile also in touch with our Firmware folks to understand this issue. Using Ryan's diagnosis tool I am able to see LSI controller is not able to DMA for particular alignment. I will update this ASAP. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ...
May 3, 10:16 pm 2010
Mike Anderson
[PATCH 0/2] dm: Add no_abort_q feature flag to dm-mpath
This patch series contains two patches. 1.) The first patch adds a feature flags bit field to the multipath structure for selected features. 2.) The second patch allows a user to set a feature flag for a dm-mpath device of "no_abort_q" to indicate that deactivate_path should not call blk_abort_queue. I tried to select a short feature name to feature output listed with multipath -l would not be too long "features='2 queue_if_no_path no_abort_q' Mike Anderson (2): dm: Add feature flags to ...
May 3, 9:01 pm 2010
Mike Anderson
[PATCH 1/2] dm: Add feature flags to dm-mpath
Add a feature flag attribute to the multipath structure. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> --- drivers/md/dm-mpath.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 826bce7..4200d03 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -82,6 +82,7 @@ struct multipath { unsigned saved_queue_if_no_path;/* Saved state during suspension */ unsigned pg_init_retries; /* ...
May 3, 9:01 pm 2010
Mike Anderson
[PATCH 2/2] dm: Add feature flag to control call to blk_ ...
Add feature flag for no_abort_q. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> --- drivers/md/dm-mpath.c | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 4200d03..e55cb41 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -119,6 +119,10 @@ static void trigger_event(struct work_struct *work); static void activate_path(struct work_struct *work); static void ...
May 3, 9:01 pm 2010
Hannes Reinecke
Re: [PATCH 4/9] blk: Call unprep_fn from elv_abort_queue ...
Acked-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) --
May 4, 3:42 am 2010
Hannes Reinecke
Re: [PATCH 1/9] blk: Do not abort requests if queue is stopped
Acked-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) --
May 4, 3:40 am 2010
Hannes Reinecke
Re: [dm-devel] [PATCH 6/9] blk: Add request atomic flag ...
Acked-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) --
May 4, 3:43 am 2010
Jens Axboe
Re: [PATCH 5/9] scsi: Add a scsi_unprep_fn
Looks fine, I would fold this in with patches 3+4, there's no point in separating them this much. -- Jens Axboe --
May 4, 3:48 am 2010
Jens Axboe
Re: [PATCH 2/9] blk: In elv_abort_queue skip requests wi ...
This also seems weird, are you coding the API backwards from what SCSI currently has implemented? Would seem a lot cleaner to separate dont-prep from already-prepped. -- Jens Axboe --
May 4, 3:47 am 2010
Mike Anderson
Re: [PATCH 2/9] blk: In elv_abort_queue skip requests wi ...
I assumed to do this we would need another request flag indicating ??REQ_PREPPED?? that would need to be set in the prep function. Then this flag would be checked vs REQ_DONTPREP to call the unprep_fn or did you mean something else? -andmike -- Michael Anderson andmike@linux.vnet.ibm.com --
May 4, 10:58 am 2010
Hannes Reinecke
Re: [PATCH 3/9] blk: Add a unprep_rq_fn
Acked-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) --
May 4, 3:41 am 2010
Jens Axboe
Re: [PATCH 1/9] blk: Do not abort requests if queue is stopped
That seems like a bit of a mixup, what ties a stopped queue to recovery? To take one example, the cciss driver stops the queue when it can't queue more at the hw level and starts it on completion to queue more. If recovery triggers when the hw queue has been filled, then timeouts will fail? It would be better to mark the queue as already doing abort. That state could be in the queue, or it could be at the driver level. -- Jens Axboe --
May 4, 3:45 am 2010
Hannes Reinecke
Re: [dm-devel] [PATCH 4/9] blk: Call unprep_fn from elv_ ...
Acked-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) --
May 4, 3:42 am 2010
Hannes Reinecke
Re: [dm-devel] [PATCH 5/9] scsi: Add a scsi_unprep_fn
Acked-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) --
May 4, 3:43 am 2010
Hannes Reinecke
Re: [PATCH 9/9] scsi: Add blk_request_aborted check
Acked-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) --
May 4, 3:45 am 2010
Hannes Reinecke
Re: [PATCH 7/9] blk: Mark requests aborted
Acked-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) --
May 4, 3:44 am 2010
Mike Anderson
[PATCH 0/9] blk: scsi: blk abort queue updates
This patch series has three sections explained below. The patches are presented as a series as they hit some common functions and may need to be applied in order to avoid conflicts. 1.) Avoid possibly waking up the error handler on a queue that it stopped. blk: Do not abort requests if queue is stopped 2.) It is possible to have a request on the elevator that is already prepped. The prepped resources should be released also. This was seen under heavy IO load while a lot of ...
May 3, 8:36 pm 2010
Mike Anderson
[PATCH 1/9] blk: Do not abort requests if queue is stopped
If the queue is stopped it could be an indication that other recovery is happening in this case skip the blk_abort_request. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Cc: Jens Axobe <jens.axboe@oracle.com> --- block/blk-timeout.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/block/blk-timeout.c b/block/blk-timeout.c index 1ba7e0a..89fbe0a 100644 --- a/block/blk-timeout.c +++ b/block/blk-timeout.c @@ -224,7 +224,8 @@ void blk_abort_queue(struct ...
May 3, 8:37 pm 2010
Mike Anderson
[PATCH 2/9] blk: In elv_abort_queue skip requests with R ...
Having REQ_DONTPREP set on a request can indicated that resources have been allocated for this request. In elv_abort_queue skip requests with REQ_DONTPREP set to avoid leaking resources. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Cc: Jens Axobe <jens.axboe@oracle.com> --- block/elevator.c | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/block/elevator.c b/block/elevator.c index df75676..ac98008 100644 --- a/block/elevator.c +++ ...
May 3, 8:37 pm 2010
Mike Anderson
[PATCH 3/9] blk: Add a unprep_rq_fn
Add a unprep_rq_fn to the block layer allowing a function to be called if set to release resources if a request is being unprepared at the block level. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Cc: Jens Axobe <jens.axboe@oracle.com> --- block/blk-settings.c | 17 +++++++++++++++++ include/linux/blkdev.h | 3 +++ 2 files changed, 20 insertions(+), 0 deletions(-) diff --git a/block/blk-settings.c b/block/blk-settings.c index d9a9db5..1a33494 100644 --- ...
May 3, 8:37 pm 2010
Mike Anderson
[PATCH 4/9] blk: Call unprep_fn from elv_abort_queue is ...
Call the unprep_fn for the queue if it has been set for requests that have been prepped indicated by REQ_DONTPREP being set. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Cc: Jens Axobe <jens.axboe@oracle.com> --- block/elevator.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/block/elevator.c b/block/elevator.c index ac98008..1f1e942 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -817,8 +817,12 @@ void elv_abort_queue(struct ...
May 3, 8:37 pm 2010
Mike Anderson
[PATCH 5/9] scsi: Add a scsi_unprep_fn
Add scsi_unprep_fn and set this function as the unprep_rq_fn for the scsi queue. This will allow SCSI resources to be released if the block layer unpreps a request. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Cc: James Bottomley <James.Bottomley@suse.de> --- drivers/scsi/scsi_lib.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 1646fe7..1685d35 100644 --- ...
May 3, 8:37 pm 2010
Mike Anderson
[PATCH 6/9] blk: Add request atomic flag for abort
Add atomic flag for a request to indicate that it has marked as aborted. Provide functions to mark and test the aborted flag. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Cc: Jens Axobe <jens.axboe@oracle.com> --- block/blk-timeout.c | 6 ++++++ block/blk.h | 14 ++++++++++++++ include/linux/blkdev.h | 1 + 3 files changed, 21 insertions(+), 0 deletions(-) diff --git a/block/blk-timeout.c b/block/blk-timeout.c index 89fbe0a..ad45b44 100644 --- ...
May 3, 8:37 pm 2010
Mike Anderson
[PATCH 7/9] blk: Mark requests aborted
Mark requests aborted using blk_mark_rq_aborted to assist lower levels in identifying aborted requests. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Cc: Jens Axobe <jens.axboe@oracle.com> --- block/blk-timeout.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/block/blk-timeout.c b/block/blk-timeout.c index ad45b44..d8610c1 100644 --- a/block/blk-timeout.c +++ b/block/blk-timeout.c @@ -229,9 +229,17 @@ void blk_abort_queue(struct request_queue ...
May 3, 8:37 pm 2010
Mike Anderson
[PATCH 8/9] scsi: Add scsi_requeue_request function
Add a common scsi_requeue_request function and move previous callers of separate requeue calls to a this common one. This is a preparation step to allow a follow on patch to be added to a common function. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Cc: James Bottomley <James.Bottomley@suse.de> --- drivers/scsi/scsi_lib.c | 53 +++++++++++++++++++++++++--------------------- 1 files changed, 29 insertions(+), 24 deletions(-) diff --git a/drivers/scsi/scsi_lib.c ...
May 3, 8:37 pm 2010
Mike Anderson
[PATCH 9/9] scsi: Add blk_request_aborted check
Add a blk_request_aborted check to scsi_requeue_request. This allows for a single check in a common requeue function to determine if a request has been aborted. Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Cc: James Bottomley <James.Bottomley@suse.de> --- drivers/scsi/scsi_lib.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 73182db..68e4bd7 100644 --- a/drivers/scsi/scsi_lib.c +++ ...
May 3, 8:37 pm 2010
Hannes Reinecke
Re: [PATCH 2/9] blk: In elv_abort_queue skip requests wi ...
Acked-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) --
May 4, 3:40 am 2010
Ramya Desai
Re: sysfs: cannot create duplicate filename '/class/uas_host'
Dear Experts, I resolved the issue, after some research. The transport_class_register() API is moved from PROBE method to INIT module as it is NOT per device registration, but, it is per driver registration. That is, for each driver, we need to register one time, but not for each device insertion. After moving the registration API call to INIT module, I am able to work with TWO devices simultaneously. Thanks and Regards, Ramya. --
May 4, 7:47 am 2010
previous daytodaynext day
May 3, 2010May 4, 2010May 5, 2010