Re: [GIT PULL] target fixes for v3.10-rc2

2013-05-15 Thread Nicholas A. Bellinger
On Wed, 2013-05-15 at 23:40 -0400, Or Gerlitz wrote: > On Wed, May 15, 2013 at 5:50 PM, Nicholas A. Bellinger > wrote: > > A handful of fixes + minor changes this time around, along with one > > important >= v3.9 regression fix for IBLOCK backends. The highlights > > include: > > Hi Nic, > > A

Re: [PATCH 2/6] Drivers: hv: Add the GUID fot synthetic fiber channel device

2013-05-15 Thread Greg KH
On Wed, May 15, 2013 at 03:02:30PM -0700, K. Y. Srinivasan wrote: > In preparation for supporting synthetic Fiber Channel device, add the GUID for > this service. > > Signed-off-by: K. Y. Srinivasan > Reviewed-by: Haiyang Zhang > --- > include/linux/hyperv.h | 10 ++ > 1 files changed

Re: [PATCH 1/6] Drivers: hv: vmbus: Implement multi-channel support

2013-05-15 Thread Greg KH
On Wed, May 15, 2013 at 03:02:29PM -0700, K. Y. Srinivasan wrote: > +/* > + * Retrieve the (sub) channel on which to send an outgoing request. > + * When a primary channel has multiple sub-channels, we choose a > + * channel whose VCPU binding is closest to the VCPU on which > + * this call is bein

Re: [PATCH 0/6] Drivers: hv/scsi: Implement multi-channel support

2013-05-15 Thread Greg KH
On Wed, May 15, 2013 at 03:02:00PM -0700, K. Y. Srinivasan wrote: > This patch-set implements multi-channel support for Hyper-V devices. Also > support for synthetic Fiber Channel device is included. The first two > patches in the series are the foundational pieces for the remaining patches. > > J

Re: [GIT PULL] target fixes for v3.10-rc2

2013-05-15 Thread Or Gerlitz
On Wed, May 15, 2013 at 5:50 PM, Nicholas A. Bellinger wrote: > A handful of fixes + minor changes this time around, along with one > important >= v3.9 regression fix for IBLOCK backends. The highlights include: Hi Nic, Are you pushing also a patch which would allow to actually test NULL based

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-15 Thread Liu Jiang
On Thu 16 May 2013 05:29:31 AM CST, Benjamin Herrenschmidt wrote: On Wed, 2013-05-15 at 22:46 +0800, Liu Jiang wrote: I don't know any OF exports, could you please help to CC some OF experts? I wrote that code I think. Sorry, I've missed the beginning of the thread, what is the problem

[GIT PULL] target fixes for v3.10-rc2

2013-05-15 Thread Nicholas A. Bellinger
Hi Linus, The following are target fixes currently in the queue for v3.10-rc2. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git queue A handful of fixes + minor changes this time around, along with one important >= v3.9 regression fix for I

[PATCH 3/6] Drivers: scsi: storvsc: Make the scsi timeout a module parameter

2013-05-15 Thread K. Y. Srinivasan
The standard scsi timeout is not appropriate in some of the environments where Hyper-V is deployed. Set this timeout appropriately for all devices managed by this driver. Further make this a module parameter. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/scsi/storvsc_dr

[PATCH 2/6] Drivers: hv: Add the GUID fot synthetic fiber channel device

2013-05-15 Thread K. Y. Srinivasan
In preparation for supporting synthetic Fiber Channel device, add the GUID for this service. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- include/linux/hyperv.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/linux/hyperv.h b/include/

[PATCH 5/6] Drivers: scsi: storvsc: Implement multi-channel support

2013-05-15 Thread K. Y. Srinivasan
Implement multi-channel support for the storage devices. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/scsi/storvsc_drv.c | 124 ++-- 1 files changed, 120 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/d

[PATCH 1/6] Drivers: hv: vmbus: Implement multi-channel support

2013-05-15 Thread K. Y. Srinivasan
Starting with Win8, the host supports multiple sub-channels for a given device. As in the past, the initial channel offer specifies the device and is associated with both the type and the instance GUIDs. For performance critical devices, the host may support multiple sub-channels. The sub-channels

[PATCH 0/6] Drivers: hv/scsi: Implement multi-channel support

2013-05-15 Thread K. Y. Srinivasan
This patch-set implements multi-channel support for Hyper-V devices. Also support for synthetic Fiber Channel device is included. The first two patches in the series are the foundational pieces for the remaining patches. James, once Greg accepts the first two patches, you can consider the scsi pat

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-15 Thread Benjamin Herrenschmidt
On Wed, 2013-05-15 at 22:46 +0800, Liu Jiang wrote: >I don't know any OF exports, could you please help to CC > some OF experts? I wrote that code I think. Sorry, I've missed the beginning of the thread, what is the problem ? Cheers, Ben. -- To unsubscribe from this list: send the line

[PATCH 6/6] Drivers: scsi: storvsc: Support FC devices

2013-05-15 Thread K. Y. Srinivasan
Add support for synthetic Fiber Channel devices. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/scsi/storvsc_drv.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index bed8d23..14bc922

[PATCH 4/6] Drivers: scsi: storvsc: Update the storage protocol to win8 level

2013-05-15 Thread K. Y. Srinivasan
Update the storage protocol to the win8 level. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/scsi/storvsc_drv.c | 203 1 files changed, 168 insertions(+), 35 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/sc

[PATCH 1/1] bfa: Fixes for 0-terminated strncpy and possible null pointer dereference

2013-05-15 Thread Jakob Normark
This patch fixes two cppcheck errors in drivers/scsi/bfa/bfad_im.c Kernel version: v3.10-rc1 Signed-off-by: Jakob Normark --- drivers/scsi/bfa/bfad_im.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/bfa/bfad_im.c b/drivers/scsi/bfa/bfad_im.c index 5

Re: mpt2sas,mpt3sas watchdog device removal

2013-05-15 Thread Joe Lawrence
>From 84ac7a35ebd61e84d4254eae78bb967de17254c2 Mon Sep 17 00:00:00 2001 From: Joe Lawrence Date: Wed, 15 May 2013 12:52:31 -0400 Subject: [PATCH] mpt2sas,mpt3sas: make watchdog instantiated device removal safe Calling pci_stop_and_remove_bus_device from a SCSI LLD may introduce device removal ra

[PATCH] mpt2sas,mpt3sas: make watchdog instantiated device removal safe

2013-05-15 Thread Joe Lawrence
>From 9fc1a958ad48718216fbdc19405297dd11d11539 Mon Sep 17 00:00:00 2001 From: Joe Lawrence Date: Tue, 14 May 2013 15:41:17 -0400 Subject: [PATCH] mpt2sas,mpt3sas: make watchdog instantiated device removal safe Calling pci_stop_and_remove_bus_device from a SCSI LLD may introduce device removal ra

mpt2sas,mpt3sas watchdog device removal

2013-05-15 Thread Joe Lawrence
This is a followup to the earlier discussion of MPT watchdog device removal calling directly into PCI core API: [1] http://thread.gmane.org/gmane.linux.scsi/80629 I've tested two safer, alternative methods of removing MPT hosts from the SCSI topology. Both involve wrapping the existing MPT .remov

[PATCH 1/1] ibmvfc: Fix for offlining devices during error recovery

2013-05-15 Thread Brian King
This fixes an issue seen with devices getting marked offline in a scenario where a VIOS was getting rebooted while a client VFC adapter is in SCSI EH and prevents unnecessary EH escalation in some scenarios. Signed-off-by: Brian King --- drivers/scsi/ibmvscsi/ibmvfc.c | 15 +-- 1

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-15 Thread Liu Jiang
On Wed 15 May 2013 10:43:02 PM CST, Yinghai Lu wrote: On Wed, May 15, 2013 at 7:39 AM, Liu Jiang wrote: On Wed 15 May 2013 02:52:51 AM CST, Yinghai Lu wrote: On Tue, May 14, 2013 at 9:57 AM, Liu Jiang wrote: On Tue 14 May 2013 11:10:33 PM CST, Yinghai Lu wrote: On Tue, May 14, 2013 at 7

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-15 Thread Yinghai Lu
On Wed, May 15, 2013 at 7:39 AM, Liu Jiang wrote: > On Wed 15 May 2013 02:52:51 AM CST, Yinghai Lu wrote: >> >> On Tue, May 14, 2013 at 9:57 AM, Liu Jiang wrote: >>> >>> On Tue 14 May 2013 11:10:33 PM CST, Yinghai Lu wrote: On Tue, May 14, 2013 at 7:59 AM, Liu Jiang wrote: > >

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-15 Thread Liu Jiang
On Wed 15 May 2013 02:52:51 AM CST, Yinghai Lu wrote: On Tue, May 14, 2013 at 9:57 AM, Liu Jiang wrote: On Tue 14 May 2013 11:10:33 PM CST, Yinghai Lu wrote: On Tue, May 14, 2013 at 7:59 AM, Liu Jiang wrote: On 05/14/2013 04:26 PM, Gu Zheng wrote: I suggest to use pci_release_dev() i

Re: [PATCH 1/2] Kernel/time: Introduce a new timestamp function local_time_seconds()

2013-05-15 Thread James Bottomley
On Wed, 2013-05-15 at 11:32 +0800, Gu Zheng wrote: > On 05/14/2013 11:57 PM, John Stultz wrote: > > > On 05/14/2013 12:45 AM, Gu Zheng wrote: > >> From 18072c1c3506a7e37ee485307a2c343efe5af4d0 Mon Sep 17 00:00:00 2001 > >> From: Gu Zheng > >> Date: Mon, 13 May 2013 15:45:24 +0900 > >> Subject: [

[PATCH] mptfusion: avoid reset loop by setting the result to DID_SOFT_ERROR

2013-05-15 Thread Li Dongyang
When IOs are terminated, we observed reset loops: [ 158.580529] sd 1:0:5:0: [sdh] CDB: [ 158.596051] Read(10): 28 00 00 05 e4 00 00 04 00 00 [ 158.601657] mptscsih: ioc1: fw_channel = 0, fw_id = 55, lun = 0 [ 158.601659] mptscsih: ioc1: request_len = 524288, underflow = 524288, resid = 524