Re: [Suggestion] drivers/target/sbp/ : set tport-tpg to NULL when clean up for failure.

2012-12-10 Thread Chris Boot
On 10/12/12 02:39, Chen Gang wrote: Hello Chris Boot: need I send the relative patch ? Hi Chen, Sorry, life got in the way this weekend. I'll try to get the patch sent out today. Cheers, Chris -- Chris Boot bo...@bootc.net -- To unsubscribe from this list: send the line unsubscribe

Re: [Suggestion] drivers/target/sbp/ : set tport-tpg to NULL when clean up for failure.

2012-12-10 Thread Chen Gang
于 2012年12月10日 16:02, Chris Boot 写道: On 10/12/12 02:39, Chen Gang wrote: Hello Chris Boot: need I send the relative patch ? Hi Chen, Sorry, life got in the way this weekend. I'll try to get the patch sent out today. Cheers, Chris ok, thank you. mark me as Reported-by is ok,

Re: [PATCH][RFC] scsi_transport_fc: Implement I_T nexus reset

2012-12-10 Thread Hannes Reinecke
Am 12/07/2012 08:58 PM, schrieb Chad Dupuis: On Fri, 7 Dec 2012, Mike Christie wrote: On 12/07/2012 08:51 AM, Hannes Reinecke wrote: 'Bus reset' is not really applicable to FibreChannel, as the concept of a bus doesn't apply. Hence all FC LLDD simulate a 'bus reset' by sending a target

[PATCH 01/10] fnic: updated MAINTAINERS list

2012-12-10 Thread Hiral Patel
Updated MAINTAINERS list for fnic driver with appropriate names and email ids. Signed-off-by: Brian Uchino buch...@cisco.com Signed-off-by: Hiral Patel hiral...@cisco.com --- MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 02/10] fnic: fix for trusted cos

2012-12-10 Thread Hiral Patel
Modified fnic driver to let hardware insert the COS value. Set bit in descriptor to 0 telling hardware to use its lif COS configurations to insert the COS value in the frames. Signed-off-by: Narsimhulu Musini nmus...@cisco.com Signed-off-by: Hiral Patel hiral...@cisco.com ---

[PATCH 05/10] fnic: fnic driver may hit BUG_ON on device reset

2012-12-10 Thread Hiral Patel
The issue was observed when LUN Reset is issued through IOCTL or sg_reset utility. fnic driver issues LUN RESET to firmware. On successful completion of device reset, driver cleans up all the pending IOs that were issued prior to device reset. These pending IOs are expected to be in ABTS_PENDING

[PATCH 03/10] fnic:fixing issues in device and firmware reset code

2012-12-10 Thread Hiral Patel
1. Handling overlapped firmware resets This fix serialize multiple firmware resets to avoid situation where fnic device fails to come up for link up event, when firmware resets are issued back to back. If there are overlapped firmware resets are issued, the firmware reset

[PATCH 04/10] fnic: Fix SGEs limit

2012-12-10 Thread Hiral Patel
Driver allows IOs with more SGEs than max SGEs supported by Palo. The current max SGEs supported by the fnic driver is 1024. The current register settings on Palo supports a max of 256 only. Palo would return any IO with more than 256 SGEs with an error indicating INVALID_SGLS. Fnic driver

[PATCH 9/9] fnic: FIP configuration mismatch between switch and adapter crashes driver

2012-12-10 Thread Hiral Patel
If switch configured in FIP and kirkwood lake configured in non-fip mode, panics while queueing FIP frame in non-existing fip_frame_queue. Added config check before queueing FIP frame in misconfiguration case to avoid kernel panic. Signed-off-by: Hiral Patel hiral...@cisco.com ---

[PATCH 07/10] fnic: Fnic Trace Utility

2012-12-10 Thread Hiral Patel
Fnic Trace utility is a tracing functionality built directly into fnic driver to trace events. The benefit that trace buffer brings to fnic driver is the ability to see what it happening inside the fnic driver. It also provides the capability to trace every IO event inside fnic driver to debug

[PATCH 06/10] fnic: New debug flags and debug log messages

2012-12-10 Thread Hiral Patel
Added new fnic debug flags for identifying IO state at every stage of IO while debugging and also added more log messages for better debugging capability. Signed-off-by: Sesidhar Baddela sebad...@cisco.com Signed-off-by: Hiral Patel hiral...@cisco.com --- drivers/scsi/fnic/fnic.h | 32

[PATCH 10/10] fnic: Incremented driver version

2012-12-10 Thread Hiral Patel
Incrementing driver versio after bug fixes and new feature commits. Signed-off-by: Brian Uchino buch...@cisco.com Signed-off-by: Hiral Patel hiral...@cisco.com --- drivers/scsi/fnic/fnic.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/fnic/fnic.h

[PATCH 08/10] fnic: FIP VLAN Discovery Feature Support

2012-12-10 Thread Hiral Patel
FIP VLAN discovery discovers the FCoE VLAN that will be used by all other FIP protocols as well as by the FCoE encapsulation for Fibre Channel payloads on the established virtual link. One of the goals of FC-BB-5 was to be as nonintrusive as possible on initiators and targets, and therefore FIP

[PATCH 09/10] fnic: Kernel panic due to FIP mode misconfiguration

2012-12-10 Thread Hiral Patel
If switch configured in FIP and adapter configured in non-fip mode, driver panics while queueing FIP frame in non-existing fip_frame_queue. Added config check before queueing FIP frame in misconfiguration case to avoid kernel panic. Signed-off-by: Hiral Patel hiral...@cisco.com ---

Re: [PATCH 9/9] fnic: FIP configuration mismatch between switch and adapter crashes driver

2012-12-10 Thread James Bottomley
On Mon, 2012-12-10 at 01:21 -0800, Hiral Patel wrote: If switch configured in FIP and kirkwood lake configured in non-fip mode, panics while queueing FIP frame in non-existing fip_frame_queue. Added config check before queueing FIP frame in misconfiguration case to avoid kernel panic. Where

[PATCH] bfa: Update MAINTAINERS list for BFA driver

2012-12-10 Thread vmohan
From: Vijaya Mohan Guvva vmo...@brocade.com Signed-off-by: Vijaya Mohan Guvva vmo...@brocade.com --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9386a63..e337857 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1697,7 +1697,8 @@

[PATCH] [SCSI] Remove reference to dropped scsi_wait_scan module

2012-12-10 Thread Petr Uzel
scsi_wait_scan module has been dropped by commit 6072609d9bb91ff54aee. Don't reference it in Kconfig. Signed-off-by: Petr Uzel petr.u...@suse.cz --- drivers/scsi/Kconfig |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig

Re: [patch,v3,repost 00/10] make I/O path allocations more numa-friendly

2012-12-10 Thread Jeff Moyer
Jeff Moyer jmo...@redhat.com writes: Hi, This patch set makes memory allocations for data structures used in the I/O path more numa friendly by allocating them from the same numa node as the storage device. I've only converted a handful of drivers at this point. My testing is limited by

SCSI mid layer and high IOPS capable devices

2012-12-10 Thread scameron
Is there any work going on to improve performance of the SCSI layer to better support devices capable of high IOPS? I've been playing around with some flash-based devices and have a block driver that uses the make_request interface (calls blk_queue_make_request() rather than blk_init_queue())

[PATCH] lpfc: init: fix misspelling word in mailbox command waiting comments

2012-12-10 Thread Ren Mingxin
Correct misspelling of outstanding in mailbox command waiting comments. Signed-off-by: Ren Mingxin re...@cn.fujitsu.com Signed-off-by: Pan Dayu pandy.f...@cn.fujitsu.com --- drivers/scsi/lpfc/lpfc_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] lpfc: init: fix misspelling word in mailbox command waiting comments

2012-12-10 Thread Ren Mingxin
On 12/11/2012 11:53 AM, re...@cn.fujitsu.com wrote: From: Ren Mingxinre...@cn.fujitsu.com Superfluous, sorry for disturbing everyone :-( Ren -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v9 06/10] ata: zpodd: check zero power ready status

2012-12-10 Thread Tejun Heo
Hello, guys. On Mon, Dec 10, 2012 at 11:26:07AM +0800, Aaron Lu wrote: The problem here is there's no easy to reach genhd from libata (or the other way around) without going through sr. I think we're gonna have to have something in sr one way or the other. Can't we do that via an