Re: Suspend issues with a LaCie USB hard disk connected

2014-01-15 Thread Daniel Mack
Hi, Sorry for the long, primarily holiday-related delay on this. On 12/18/2013 09:46 PM, Alan Stern wrote: On Wed, 18 Dec 2013, Daniel Mack wrote: I'm facing an issue putting an embedded system to sleep while a Lacie external USB hard disk is connected. Relevant kernel messages that occur at

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Mark Rutland
On Wed, Jan 15, 2014 at 07:11:48AM +, Loc Ho wrote: Signed-off-by: Loc Ho l...@apm.com Signed-off-by: Tuan Phan tp...@apm.com Signed-off-by: Suman Tripathi stripa...@apm.com --- .../devicetree/bindings/ata/apm-xgene.txt | 68 1 files changed, 68

Re: [PATCH v7 2/4] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-01-15 Thread Mark Rutland
On Wed, Jan 15, 2014 at 07:10:38AM +, Loc Ho wrote: Signed-off-by: Loc Ho l...@apm.com Signed-off-by: Tuan Phan tp...@apm.com Signed-off-by: Suman Tripathi stripa...@apm.com --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 94 1 files changed, 94

Re: [PATCH v7 3/4] PHY: add APM X-Gene SoC 15Gbps Multi-purpose PHY driver

2014-01-15 Thread Mark Rutland
On Wed, Jan 15, 2014 at 07:10:39AM +, Loc Ho wrote: [...] + * The APM X-Gene PHY consists of two PLL clock macro's (CMU) and lanes. + * The first PLL clock macro is used for internal reference clock. The second + * PLL clock macro is used to generate the clock for the PHY. This driver +

[PATCH] hpsa: fixup MSI-X registration

2014-01-15 Thread Hannes Reinecke
Commit 254f796b9f22b1944c64caabc356a56caaa2facd updated the driver to use 16 MSI-X vectors, despite the fact that older controllers would provide only 4. This was causing MSI-X registration to drop down to INTx mode. But as the controller support performant mode, the initialisation will become

Re: [PATCH v3 0/2] Hard disk S3 resume time optimization

2014-01-15 Thread Tejun Heo
Please start a new thread when you're posting a new version of the whole series don't use the same patch title for the patches. They do different things. They need different names. Thanks. -- tejun -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a

Re: [PATCH v3 1/2] Hard disk S3 resume time optimization

2014-01-15 Thread Tejun Heo
Hello, On Tue, Jan 14, 2014 at 04:31:40PM -0800, Todd E Brandt wrote: Signed-off-by: Todd Brandt todd.e.bra...@intel.com Signed-off-by: Arjan van de Ven ar...@linux.intel.com drivers/ata/libata-core.c | 32 +--- 1 file changed, 17 insertions(+), 15

[Update][PATCH 8/9] powerpc / eeh_driver: Use global PCI rescan-remove locking

2014-01-15 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: powerpc / eeh_driver: Use global PCI rescan-remove locking Race conditions are theoretically possible between the PCI device addition and removal in the PPC64 PCI error recovery driver and the generic PCI bus rescan and device removal

Re: [PATCH] qla2xxx: Configure NPIV fc_vport via tcm_qla2xxx_npiv_make_lport

2014-01-15 Thread Giridhar Malavali
Sent from my iPhone. Please excuse any typos. On Jan 14, 2014, at 10:02 PM, Nicholas A. Bellinger n...@daterainc.com wrote: From: Nicholas Bellinger n...@linux-iscsi.org Hi Saurav Co, Here is the updated NPIV patch on top of the original here: [PATCH] qla2xxx: Enhancements to

Re: Suspend issues with a LaCie USB hard disk connected

2014-01-15 Thread Alan Stern
On Wed, 15 Jan 2014, Daniel Mack wrote: Hi, Sorry for the long, primarily holiday-related delay on this. On 12/18/2013 09:46 PM, Alan Stern wrote: On Wed, 18 Dec 2013, Daniel Mack wrote: I'm facing an issue putting an embedded system to sleep while a Lacie external USB hard disk is

Re: Suspend issues with a LaCie USB hard disk connected

2014-01-15 Thread Daniel Mack
Hi Alan, On 01/15/2014 06:19 PM, Alan Stern wrote: On Wed, 15 Jan 2014, Daniel Mack wrote: Hi, Sorry for the long, primarily holiday-related delay on this. On 12/18/2013 09:46 PM, Alan Stern wrote: On Wed, 18 Dec 2013, Daniel Mack wrote: I'm facing an issue putting an embedded system to

Re: [Update][PATCH 8/9] powerpc / eeh_driver: Use global PCI rescan-remove locking

2014-01-15 Thread Bjorn Helgaas
On Wed, Jan 15, 2014 at 02:36:36PM +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: powerpc / eeh_driver: Use global PCI rescan-remove locking Race conditions are theoretically possible between the PCI device addition and removal in the PPC64 PCI

Re: [PATCH 0/9] PCI: Eliminate race conditions between hotplug and sysfs rescan/remove (Was: Re: [PATCH v2 04/10] PCI: Destroy pci dev only once)

2014-01-15 Thread Bjorn Helgaas
On Fri, Jan 10, 2014 at 03:20:44PM +0100, Rafael J. Wysocki wrote: [Cc: adding linux-scsi for the MPT changes, Ben for powerpc, Matthew for platform/x86 and Konrad for Xen] On Friday, December 06, 2013 02:21:50 AM Rafael J. Wysocki wrote: [...] OK To be a bit more

Re: [PATCH 00/14] target: Initial support for DIF Type1+Type3 emulation

2014-01-15 Thread sagi grimberg
On 1/8/2014 10:36 PM, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org Hi MKP SCSI folks, This series contains initial support for target mode DIF Type1+Type3 emulation within target core, RAMDISK_MCP device backend, and tcm_loop fabric driver. DIF emulation is

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Loc Ho
Hi, +- clocks : Reference to the clock entry. +- phys : PHY reference with parameter 0. The specific value of the phy-specifier shouldn't matter to this binding. What should matter is what it logically corresponds to. I not quite following this. Are you

Re: [PATCH v3 1/2] Hard disk S3 resume time optimization

2014-01-15 Thread Todd E Brandt
On Wed, Jan 15, 2014 at 08:01:04AM -0500, Tejun Heo wrote: Hello, On Tue, Jan 14, 2014 at 04:31:40PM -0800, Todd E Brandt wrote: Signed-off-by: Todd Brandt todd.e.bra...@intel.com Signed-off-by: Arjan van de Ven ar...@linux.intel.com drivers/ata/libata-core.c | 32

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Arnd Bergmann
On Wednesday 15 January 2014 12:04:02 Loc Ho wrote: +- clocks : Reference to the clock entry. +- phys : PHY reference with parameter 0. The specific value of the phy-specifier shouldn't matter to this binding. What should matter is what it logically

Re: [PATCH v7 3/4] PHY: add APM X-Gene SoC 15Gbps Multi-purpose PHY driver

2014-01-15 Thread Loc Ho
Hi, [...] + * The APM X-Gene PHY consists of two PLL clock macro's (CMU) and lanes. + * The first PLL clock macro is used for internal reference clock. The second + * PLL clock macro is used to generate the clock for the PHY. This driver + * configures the first PLL CMU, the second PLL

[LSF/MM TOPIC] copy offloading

2014-01-15 Thread Zach Brown
Discussing copy offloading at LSF is appropriate because it can involve so many layers of the stack: - high level syscall interface - in-kernel high level entry point for nfsd - fs specific implementations (btrfs and ocfs2 cow, nfs) - vfs helper for offloading block copies for ext*,xfs -

Re: [PATCH] hpsa: fixup MSI-X registration

2014-01-15 Thread scameron
On Wed, Jan 15, 2014 at 01:30:53PM +0100, Hannes Reinecke wrote: Commit 254f796b9f22b1944c64caabc356a56caaa2facd updated the driver to use 16 MSI-X vectors, despite the fact that older controllers would provide only 4. This was causing MSI-X registration to drop down to INTx mode. But as the

[PATCH] SCSI: sd: don't fail if the device doesn't recognize SYNCHRONIZE CACHE

2014-01-15 Thread Alan Stern
Evidently some wacky USB-ATA bridges don't recognize the SYNCHRONIZE CACHE command, as shown in this email thread: http://marc.info/?t=13897835622r=1w=2 The fact that we can't tell them to drain their caches shouldn't prevent the system from going into suspend. Therefore

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Loc Ho
Hi, +- clocks : Reference to the clock entry. +- phys : PHY reference with parameter 0. The specific value of the phy-specifier shouldn't matter to this binding. What should matter is what it logically corresponds to. I not quite following this. Are

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Arnd Bergmann
On Wednesday 15 January 2014 13:08:47 Loc Ho wrote: +- clocks : Reference to the clock entry. +- phys : PHY reference with parameter 0. The specific value of the phy-specifier shouldn't matter to this binding. What should matter is what it logically

[PATCH 02/41] hpsa: revert hide logical drives with format in progress from linux

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com This relies on a kernel thread which I wish to replace with a work queue based solution. Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 50 ++

[PATCH 03/41] hpsa: use workqueue instead of kernel thread for lockup detection

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Much simpler and avoids races starting/stopping the thread. Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 103 +-- drivers/scsi/hpsa.h |3 + 2

[PATCH 01/41] hpsa: revert bring logical drives online when format completes

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com This relies on a kernel thread which I wish to remove and replace with a work queue based solution. Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 128

[PATCH 05/41] hpsa: enable unit attention reporting

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com This used to be the default, but at some point the firmware guys changed the default and I failed to notice. Now to get unit attention notifications, you must twiddle a bit indicating you want them. Signed-off-by: Stephen M. Cameron

[PATCH 06/41] hpsa: do not require board not ready status after hard reset

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Immediately following a hard board reset, There are some mandatory delays during which we must not access the board and during which we might miss the not ready status, therefore it is a mistake to look for and expect to see the not ready

[PATCH 08/41] hpsa: use extended report luns command for HP SSD SmartPath

2014-01-15 Thread Stephen M. Cameron
From: Matt Gates matthew.ga...@hp.com There is an extended report luns command which contains additional information about physical devices. In particular we need to get the physical device handle so we can use an alternate i/o path for fast physical devices like SSDs so we can speed up certain

[PATCH 12/41] hpsa: fix task management for mode-1 ioaccell path

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com For mode 1 io accelerated commands, the command tag is in a different location than for commands that go down the normal RAID path, so the abort handler needs to take this into account. Signed-off-by: Scott Teel scott.t...@hp.com Signed-off-by: Mike Miller

[PATCH 07/41] hpsa: allow SCSI mid layer to handle unit attention

2014-01-15 Thread Stephen M. Cameron
From: Matt Gates matthew.ga...@hp.com We were clobbering the SCSI status and setting cmd-result = DID_SOFT_ERROR 16; to get a retry, but better to let the mid layer handle the unit attention. Signed-off-by: Matt Gates matthew.ga...@hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com

[PATCH 10/41] hpsa: add support for 'fastpath' i/o

2014-01-15 Thread Stephen M. Cameron
From: Matt Gates matthew.ga...@hp.com For certain i/o's to certain devices (unmasked physical disks) we can bypass the RAID stack firmware and do the i/o to the device directly and it will be faster. Signed-off-by: Matt Gates matthew.ga...@hp.com Signed-off-by: Stephen M. Cameron

[PATCH 14/41] hpsa: update raid offload status on device rescan

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com When rescanning for logical drives, store information about whather raid offload is enabled for each logical drive, and update the driver's internal record of this. Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com ---

[PATCH 21/41] hpsa: do ioaccel mode 2 resource allocations

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Signed-off-by: Mike Miller mi...@beardog.cce.hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 50 ++ drivers/scsi/hpsa.h |3 +++ 2 files changed, 53

[PATCH 26/41] hpsa: add task management for ioaccel mode 2

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Underlying firmware cannot handle task abort on accelerated path (SSD Smart Path). Change abort requests for accelerated path commands to physical target reset. Send reset request on normal IO path. Signed-off-by: Scott Teel scott.t...@hp.com Signed-off-by:

[PATCH 23/41] hpsa: initialize controller to perform io accelerator mode 2

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com Signed-off-by: Scott Teel scott.t...@hp.com --- drivers/scsi/hpsa.c | 111 --- drivers/scsi/hpsa.h |1

[PATCH 19/41] hpsa: add ioaccel mode 2 structure definitions

2014-01-15 Thread Stephen M. Cameron
From: Mike Miller mi...@beardog.cce.hp.com Signed-off-by: Mike Miller mi...@beardog.cce.hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 22 ++ drivers/scsi/hpsa.h |8 drivers/scsi/hpsa_cmd.h | 99

[PATCH 17/41] hpsa: add hp_ssd_smart_path_enabled sysfs attribute

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Signed-off-by: Scott Teel scott.t...@hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/hpsa.c

[PATCH 22/41] hpsa: get physical device handles for io accel mode 2 as well as mode 1

2014-01-15 Thread Stephen M. Cameron
From: Mike MIller mi...@beardog.cce.hp.com Signed-off-by: Mike MIller mi...@beardog.cce.hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c

[PATCH 18/41] hpsa: complain if physical or logical aborts are not supported

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Signed-off-by: Scott Teel scott.t...@hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH 20/41] hpsa: Acknowledge controller events in ioaccell mode 2 as well as mode 1

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c |3 ++- drivers/scsi/hpsa_cmd.h |1 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c

[PATCH 16/41] hpsa: do not rescan controllers known to be locked up

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com * Do not check event bits on locked up controllers to see if they need to be rescanned. * Do not initiate any device rescans on controllers which are known to be locked up. Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com ---

[PATCH 25/41] hpsa: teach hpsa_device_reset to do either target or lun reset

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Signed-off-by: Scott Teel scott.t...@hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH 15/41] hpsa: poll controller to detect device change event

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com For shared SAS configurations, hosts need to poll Smart Arrays periodically in order to be able to detect configuration changes such as logical drives being added or removed from remote hosts. A register on the controller indicates when such

[PATCH 31/41] hpsa: allow VPD page zero to be queried

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Code was confused and assumed that page zero was not VPD page and all non-zero pages were VPD pages. Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 18 +- 1 files changed, 9

[PATCH 28/41] hpsa: complete the ioaccel raidmap code

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Load balance across members of a N-way mirror set, and handle the meta-RAID levels: R10, R50, R60. Signed-off-by: Scott Teel scott.t...@hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 174

[PATCH 24/41] hpsa: get ioaccel mode 2 i/o working

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Signed-off-by: Scott Teel scott.t...@hp.com Signed-off-by: Joe Handzik joseph.t.hand...@hp.com Signed-off-by: Mike Miller mi...@beardog.cce.hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 325

[PATCH 30/41] hpsa: rescan devices on ioaccel2 error

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Allow driver to schedule a rescan whenever a request fails on the ioaccel2 path. This eliminates the possibility of driver getting stuck in non-ioaccel mode. IOaccel mode (HP SSD Smart Path) is disabled by driver upon error detection. Driver relied on idea that

[PATCH 34/41] hpsa: update source file copyrights

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Signed-off-by: Scott Teel scott.t...@hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c |2 +- drivers/scsi/hpsa.h |2 +- drivers/scsi/hpsa_cmd.h |2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

[PATCH 29/41] hpsa: allow user to disable accelerated i/o path

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Allow SSD Smart Path for a controller to be disabled by the user, regardless of settings in controller firmware or array configuration. To disable: echo 0 /sys/class/scsi_host/hostid/acciopath_status To re-enable: echo 1

[PATCH 38/41] hpsa: improve error messages for driver initiated commands

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com On encountering unexpected error conditions from driver initiated commands, print something useful like CDB and sense data rather than something useless like the kernel virtual address of the command buffer. Signed-off-by: Stephen M. Cameron

[PATCH 41/41] hpsa: Add support for a few HP Storage controllers

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index eab21bb..fb0950c 100644

[PATCH 40/41] pci: add HP/3PAR vendor id to pci_ids.h

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- include/linux/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 97fbecd..0154d9b 100644

[PATCH 35/41] hpsa: add controller base data-at-rest encryption compatibility ioaccel2

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Add controller-based data-at-rest encryption compatibility to ioaccel2 path (HP SSD Smart Path). Encryption feature requires driver to supply additional fields for encryption enable, tweak index, and data encryption key index in the ioaccel2 request structure.

[PATCH 39/41] hpsa add sysfs debug switch for raid map debugging messages

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Signed-off-by: Scott Teel scott.t...@hp.com Acked-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 65 +++ drivers/scsi/hpsa.h |1 + 2 files changed, 66

[PATCH 33/41] hpsa: retry certain ioaccel error cases on the RAID path

2014-01-15 Thread Stephen M. Cameron
From: Scott Teel scott.t...@hp.com Change the handling of HP SSD Smart Path errors with status: 0x02 CHECK CONDITION 0x08 BUSY 0x18 RESERVATION CONFLICT 0x40 TASK ABORTED So that they get retried on the RAID Path. Signed-off-by: Scott Teel scott.t...@hp.com Acked-by: Stephen M. Cameron

[PATCH 37/41] hpsa: only do device rescan for certain events

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Do no rescan on every events -- way too many rescans are triggered if we don't filter the events. Limit rescans to be triggered by the following set of events: * controller state change * enclosure hot plug * physical drive state change *

[PATCH 36/41] hpsa: when switching out of accel mode await only accel command completions

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Don't wait for *all* commands to complete, only for accelerated mode commands. Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 22 -- 1 files changed, 16 insertions(+), 6

[PATCH 00/41] hpsa January 2014 driver updates

2014-01-15 Thread Stephen M. Cameron
This series applies to kernel/git/jejb/scsi.git for-next branch This is a big patch series. Most of the changes have to do with enabling alternate command submission paths for certain i/os to bypass the Smart Array RAID firmware stack and submit i/o's more directly to physical devices -- solid

Re: [PATCH] qla2xxx: Configure NPIV fc_vport via tcm_qla2xxx_npiv_make_lport

2014-01-15 Thread Nicholas A. Bellinger
Hi Giridhar Co, A few more questions below.. On Wed, 2014-01-15 at 16:06 +, Giridhar Malavali wrote: On Jan 14, 2014, at 10:02 PM, Nicholas A. Bellinger n...@daterainc.com wrote: From: Nicholas Bellinger n...@linux-iscsi.org Hi Saurav Co, Here is the updated NPIV patch

[PATCH 32/41] hpsa: do not inquire for unsupported ioaccel status vpd page

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c | 45 + drivers/scsi/hpsa_cmd.h |2 ++ 2 files changed, 47 insertions(+), 0 deletions(-) diff --git

[PATCH 27/41] hpsa: make device update copy the raid map also

2014-01-15 Thread Stephen M. Cameron
From: Stephen M. Cameron scame...@beardog.cce.hp.com Otherwise we could wind up using incorrect raid map data, and then very bad things would likely happen. Signed-off-by: Stephen M. Cameron scame...@beardog.cce.hp.com --- drivers/scsi/hpsa.c |3 +++ 1 files changed, 3 insertions(+), 0

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Loc Ho
Hi, +- clocks : Reference to the clock entry. +- phys : PHY reference with parameter 0. The specific value of the phy-specifier shouldn't matter to this binding. What should matter is what it logically corresponds to. I not quite following

Re: Terrible performance of sequential O_DIRECT 4k writes in SAN environment. ~3 times slower then Solars 10 with the same HBA/Storage.

2014-01-15 Thread Dave Chinner
On Tue, Jan 14, 2014 at 03:30:11PM +0200, Sergey Meirovich wrote: Hi Cristoph, On 8 January 2014 16:03, Christoph Hellwig h...@infradead.org wrote: On Tue, Jan 07, 2014 at 08:37:23PM +0200, Sergey Meirovich wrote: Actually my initial report (14.67Mb/sec 3755.41 Requests/sec) was about

Re: [PATCH] qla2xxx: Configure NPIV fc_vport via tcm_qla2xxx_npiv_make_lport

2014-01-15 Thread Quinn Tran
Nicholas, Answer for the following is below. SNIP There are still some bugs to be resolved. Namely: * Determine how to save 'point-to-point' NVRAM settings across target restart * Figure out why the initiator logs in, but doesn't perform LUN scan on the first login attempt * Determine if

Re: [PATCH 00/14] target: Initial support for DIF Type1+Type3 emulation

2014-01-15 Thread Nicholas A. Bellinger
On Wed, 2014-01-15 at 20:03 +0200, sagi grimberg wrote: On 1/8/2014 10:36 PM, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org Hi MKP SCSI folks, This series contains initial support for target mode DIF Type1+Type3 emulation within target core, RAMDISK_MCP

[LSF/MM TOPIC] [ATTEND] scsi-mq

2014-01-15 Thread Nicholas A. Bellinger
Hi all, I'd like to discuss the current state of scsi-mq prototype code. And now that blk-mq is upstream for v3.13, exploring the remaining TODO items towards an initial scsi-mq merge sometime before 2015 is upon us. The benefits of scsi-mq remain unchanged: - Utilizes blk-mq's native

Re: [LSF/MM TOPIC] copy offloading

2014-01-15 Thread Nicholas A. Bellinger
On Wed, 2014-01-15 at 12:27 -0800, Zach Brown wrote: Discussing copy offloading at LSF is appropriate because it can involve so many layers of the stack: - high level syscall interface - in-kernel high level entry point for nfsd - fs specific implementations (btrfs and ocfs2 cow, nfs)

Re: [LSF/MM ATTEND] interest in blk-mq, scsi-mq, dm-cache, dm-thinp, dm-*

2014-01-15 Thread Nicholas A. Bellinger
On Fri, 2014-01-10 at 13:27 -0500, Mike Snitzer wrote: I would like to attend to participate in discussions related to topics listed in the subject. As a maintainer of DM I'd be interested to learn/discuss areas that should become a development focus in the months following LSF. +1 on the

Re: [LSF/MM TOPIC] [ATTEND] scsi_eh updates

2014-01-15 Thread Nicholas A. Bellinger
On Fri, 2013-12-20 at 15:54 +0100, Hannes Reinecke wrote: Hi all, (before leaving for holiday ...) I'd like to attend LSF 2014. During that I'd like to discuss the current status of the SCSI EH and the future planned updates. As discussed during last year's LSF the SCSI error handler

Re: [PATCH v9 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2014-01-15 Thread Loc Ho
Hi, +- clocks : Reference to the clock entry. +- phys : PHY reference with parameter 0. The specific value of the phy-specifier shouldn't matter to this binding. What should matter is what it logically corresponds to. I not quite following

Re: [LSF/MM TOPIC] copy offloading

2014-01-15 Thread Douglas Gilbert
On 14-01-15 06:10 PM, Nicholas A. Bellinger wrote: On Wed, 2014-01-15 at 12:27 -0800, Zach Brown wrote: Discussing copy offloading at LSF is appropriate because it can involve so many layers of the stack: - high level syscall interface - in-kernel high level entry point for nfsd - fs

Re: [PATCH 00/14] target: Initial support for DIF Type1+Type3 emulation

2014-01-15 Thread Martin K. Petersen
nab == Nicholas A Bellinger n...@linux-iscsi.org writes: nab The issue is that existing fs/bio-integrity.c code always assumes nab client/initiator mode, in that it will attempt to nab bio_integrity_generate() protection information in the submit_bio nab WRITE path, and bio_integrity_verify() of

Re: [PATCH] qla2xxx: Configure NPIV fc_vport via tcm_qla2xxx_npiv_make_lport

2014-01-15 Thread Nicholas A. Bellinger
Hi Quinn, Thanks for the response. Comments are inline below.. On Wed, 2014-01-15 at 22:14 +, Quinn Tran wrote: Nicholas, Answer for the following is below. SNIP There are still some bugs to be resolved. Namely: * Determine how to save 'point-to-point' NVRAM settings across

Re: [PATCH 00/14] target: Initial support for DIF Type1+Type3 emulation

2014-01-15 Thread Nicholas A. Bellinger
On Wed, 2014-01-15 at 20:42 -0500, Martin K. Petersen wrote: nab == Nicholas A Bellinger n...@linux-iscsi.org writes: nab The issue is that existing fs/bio-integrity.c code always assumes nab client/initiator mode, in that it will attempt to nab bio_integrity_generate() protection

Re: [PATCH 00/14] target: Initial support for DIF Type1+Type3 emulation

2014-01-15 Thread Martin K. Petersen
nab == Nicholas A Bellinger n...@linux-iscsi.org writes: nab Mmm, missed that detail. So that would take care of the nab passthrough for the WRITE case then.. nab How about a passthrough on the READ completion side for target nab fabrics doing a hardware VERIFY..? Any preferences how this

[PATCH v4 0/2] Hard disk S3 resume time optimization

2014-01-15 Thread Todd E Brandt
This patch reduces S3 resume time from 10+ seconds to less than a second on systems with SATA drives. It does this by making ata port and scsi disk resume non-blocking. This is v4, sent in response to Tejun Huo's comments and with some small fixes made after testing. OVERVIEW The essential

[PATCH v4 1/2] asynchronous ata port resume

2014-01-15 Thread Todd E Brandt
On resume, the ATA port driver currently waits until the AHCI controller finishes executing the port wakeup command. This patch changes the ata_port_resume callback to issue the wakeup and then return immediately, thus allowing the next device in the pm queue to resume. Any commands issued to the

[PATCH v4 2/2] asynchronous scsi disk resume

2014-01-15 Thread Todd E Brandt
On resume, the SD driver currently waits until the block driver finishes executing a disk start command with blk_execute_rq. This patch changes the sd_resume callback to use blk_execute_rq_nowait instead, which allows it to return immediately, thus allowing the next device in the pm queue to

[LSF/MM ATTEND] Persistent memory, per-bdi cgroup, scsi

2014-01-15 Thread Sha Zhengju
Hello, I'd like to attend LSF/MM 2014. Whether expose persitent memory directly to the CPU or hide it behind a PCIe IO controller, I'm interested to learn/discuss the short and long term mechanisms that exploiting its benefits of fast, bytes-addressable, non-volatile. Last year I mainly worked

Re: [PATCH 00/14] target: Initial support for DIF Type1+Type3 emulation

2014-01-15 Thread sagi grimberg
On 1/16/2014 3:42 AM, Martin K. Petersen wrote: nab == Nicholas A Bellinger n...@linux-iscsi.org writes: nab The issue is that existing fs/bio-integrity.c code always assumes nab client/initiator mode, in that it will attempt to nab bio_integrity_generate() protection information in the