Re: [PATCH] qla2xxx: Fix endianness of task management response code

2012-09-19 Thread Saurav Kashyap
Acked-by: Saurav Kashyap saurav.kash...@qlogic.com Thanks, ~Saurav On Tue, 2012-09-18 at 15:10 -0700, Roland Dreier wrote: From: Roland Dreier rol...@purestorage.com The qla2xxx firmware actually expects the task management response code in a CTIO IOCB with SCSI status mode 1 to be in

Re: [PATCH] qla2xxx: Fix endianness of task management response code

2012-09-19 Thread James Bottomley
On Tue, 2012-09-18 at 15:10 -0700, Roland Dreier wrote: From: Roland Dreier rol...@purestorage.com The qla2xxx firmware actually expects the task management response code in a CTIO IOCB with SCSI status mode 1 to be in little-endian byte order, ie the response code should be the first byte

[Bug 46031] kswapd0 moving to uninterruptible sleep (STAT D)

2012-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=46031 Markus Hetzmannseder markus.hetzmannse...@jku.at changed: What|Removed |Added Status|NEW

Fix for freeze on SATA hotplug

2012-09-19 Thread Brian Candler
I had an issue where a failing drive which generated SATA hotplug events caused the whole I/O subsystem to deadlock. Jack Wang on the gluster-users mailing list identified the problem as a regression, and gave me a patch which has successfully fixed it:

Re: [PATCH v7 0/6] ZPODD patches

2012-09-19 Thread Aaron Lu
Hi James, May I know if this patchset will enter v3.7? Thanks, Aaron On Wed, Sep 12, 2012 at 04:29:51PM +0800, Aaron Lu wrote: v7: Re work of runtime pm of sr driver, based on ideas of Alan Stern and Oliver Neukum. Jeff, due to the ready_to_power_off flag added, there is a small change

[RFC PATCH] libata: scsi: flush cache on scsi stop command

2012-09-19 Thread Aaron Lu
scsi stop command is used to put a device into stopped power condition, and scsi devices will take care of its internal cache before entering this power condition. For ata devices, this command should be translated to flush cache + standby immediate, currently, we are translating it to only

Re: [PATCH v7 0/6] ZPODD patches

2012-09-19 Thread James Bottomley
On Wed, 2012-09-19 at 16:03 +0800, Aaron Lu wrote: Hi James, May I know if this patchset will enter v3.7? Sigh, well, I was hoping to persuade the PM people to sort this out first. The first observation is that all this looks to be too specific. ZPO may be ACPI specific, but the property it

Re: [PATCH v7 0/6] ZPODD patches

2012-09-19 Thread Rafael J. Wysocki
On Wednesday, September 19, 2012, James Bottomley wrote: On Wed, 2012-09-19 at 16:03 +0800, Aaron Lu wrote: Hi James, May I know if this patchset will enter v3.7? Sigh, well, I was hoping to persuade the PM people to sort this out first. The first observation is that all this looks

Re: [PATCH v7 0/6] ZPODD patches

2012-09-19 Thread Oliver Neukum
On Wednesday 19 September 2012 13:27:47 James Bottomley wrote: On Wed, 2012-09-19 at 16:03 +0800, Aaron Lu wrote: Hi James, May I know if this patchset will enter v3.7? Sigh, well, I was hoping to persuade the PM people to sort this out first. The first observation is that all this

Re: Fail to probe qla2xxx fiber channel card while doing pci hotplug

2012-09-19 Thread Bjorn Helgaas
On Tue, Sep 18, 2012 at 7:50 PM, Yijing Wang wangyij...@huawei.com wrote: On 2012/9/19 1:54, Bjorn Helgaas wrote: On Mon, Sep 17, 2012 at 6:06 AM, Yijing Wang wangyij...@huawei.com wrote: On 2012/9/16 11:30, Bjorn Helgaas wrote: On Sat, Sep 15, 2012 at 4:22 AM, Yijing Wang

Re: [PATCH] qla2xxx: Fix endianness of task management response code

2012-09-19 Thread Roland Dreier
On Wed, Sep 19, 2012 at 12:59 AM, James Bottomley james.bottom...@hansenpartnership.com wrote: Is this also true on Big Endian Hardware? Because the fix you have assumes that the TIO IOCB with SCSI status mode 1 should be CPU endian ... that doesn't look right since this is passed directly

Re: [PATCH v7 0/6] ZPODD patches

2012-09-19 Thread Aaron Lu
On 09/19/2012 08:50 PM, Rafael J. Wysocki wrote: On Wednesday, September 19, 2012, James Bottomley wrote: On Wed, 2012-09-19 at 16:03 +0800, Aaron Lu wrote: Hi James, May I know if this patchset will enter v3.7? Sigh, well, I was hoping to persuade the PM people to sort this out first.

Re: [PATCH v7 0/6] ZPODD patches

2012-09-19 Thread James Bottomley
On Wed, 2012-09-19 at 14:50 +0200, Rafael J. Wysocki wrote: On Wednesday, September 19, 2012, James Bottomley wrote: On Wed, 2012-09-19 at 16:03 +0800, Aaron Lu wrote: Hi James, May I know if this patchset will enter v3.7? Sigh, well, I was hoping to persuade the PM people to

Re: [PATCH v7 0/6] ZPODD patches

2012-09-19 Thread David Woodhouse
On Wed, 2012-09-19 at 13:27 +0100, James Bottomley wrote: I think we could do this with a couple of flags sitting inside struct device itself: one for pm state and capabilities defined at a generic level and one for device specific pm state. The latter would be for things like the door lock

Re: Fail to probe qla2xxx fiber channel card while doing pci hotplug

2012-09-19 Thread Jiang Liu
On 09/19/2012 09:39 PM, Bjorn Helgaas wrote: On Tue, Sep 18, 2012 at 7:50 PM, Yijing Wang wangyij...@huawei.com wrote: On 2012/9/19 1:54, Bjorn Helgaas wrote: On Mon, Sep 17, 2012 at 6:06 AM, Yijing Wang wangyij...@huawei.com wrote: On 2012/9/16 11:30, Bjorn Helgaas wrote: On Sat, Sep 15,

Re: [PATCH] scsi_dh_alua: Enable STPG for unavailable ports

2012-09-19 Thread Mike Christie
On 08/24/2012 04:08 AM, Bart Van Assche wrote: A quote from SPC-4: While in the unavailable primary target port asymmetric access state, the device server shall support those of the following commands that it supports while in the active/optimized state: [ ... ] d) SET TARGET PORT GROUPS; [

Re: scsi_dh_alua: Enable STPG for unavailable ports

2012-09-19 Thread Mike Snitzer
On Fri, Aug 24 2012 at 5:08am -0400, Bart Van Assche bvanass...@acm.org wrote: A quote from SPC-4: While in the unavailable primary target port asymmetric access state, the device server shall support those of the following commands that it supports while in the active/optimized state: [ ...

RE: [PATCH v7 0/6] ZPODD patches

2012-09-19 Thread Jack Wang
On Wed, 2012-09-19 at 13:27 +0100, James Bottomley wrote: I think we could do this with a couple of flags sitting inside struct device itself: one for pm state and capabilities defined at a generic level and one for device specific pm state. The latter would be for things like the door

Re: [PATCH 7/8] sd: Permit merged discard requests

2012-09-19 Thread Shaohua Li
On Tue, Sep 18, 2012 at 12:19:31PM -0400, Martin K. Petersen wrote: From: Martin K. Petersen martin.peter...@oracle.com Support requests with more than one bio payload for discards. The total number of bytes to be discarded is stored in req-__data_len and used in sd_done() to complete the

Re: Fail to probe qla2xxx fiber channel card while doing pci hotplug

2012-09-19 Thread Yijing Wang
On 2012/9/19 7:49, Giridhar Malavali wrote: On 9/18/12 10:54 AM, Bjorn Helgaas bhelg...@google.com wrote: On Mon, Sep 17, 2012 at 6:06 AM, Yijing Wang wangyij...@huawei.com wrote: On 2012/9/16 11:30, Bjorn Helgaas wrote: On Sat, Sep 15, 2012 at 4:22 AM, Yijing Wang wangyij...@huawei.com

Re: Fail to probe qla2xxx fiber channel card while doing pci hotplug

2012-09-19 Thread Yijing Wang
On 2012/9/19 23:31, Jiang Liu wrote: On 09/19/2012 09:39 PM, Bjorn Helgaas wrote: On Tue, Sep 18, 2012 at 7:50 PM, Yijing Wang wangyij...@huawei.com wrote: On 2012/9/19 1:54, Bjorn Helgaas wrote: On Mon, Sep 17, 2012 at 6:06 AM, Yijing Wang wangyij...@huawei.com wrote: On 2012/9/16 11:30,

Re: [PATCH] scsi_dh_alua: Enable STPG for unavailable ports

2012-09-19 Thread Hannes Reinecke
On 09/19/2012 05:49 PM, Mike Christie wrote: On 08/24/2012 04:08 AM, Bart Van Assche wrote: A quote from SPC-4: While in the unavailable primary target port asymmetric access state, the device server shall support those of the following commands that it supports while in the active/optimized