Re: mpt2sas driver barfs when force removing a drive on 3.13.1

2014-02-13 Thread Matthew Thode
On 02/12/2014 01:41 PM, Richard Yao wrote: > On 02/12/2014 02:25 PM, Dan Williams wrote: >> On Wed, Feb 12, 2014 at 9:41 AM, Richard Yao wrote: >>> You should use `git send-email` to send the patch to all of the people >>> listed by get_maintainer.pl: >> >> I see nothing wrong with the patch Joe o

Haben Sie ein Geld Problem? ** Sofort langfristig zinsgünstig und ohne bankmässige Schikanen frisches Geld bekommen

2014-02-13 Thread Silke Weiss
Hallo, hat Ihre Bank mal wieder einen Grund gefunden, Ihnen keinen Kredit zu geben? Gehen Sie doch dorthin, wo man Sie als Kunden noch anständig behandelt. Auch bei laufenden Verpflichtungen und zuvor von Ihrer eigenen Hausbank zurückgewiesenem Antrag können wir Ihnen frisches Geld vermitteln

Re: [PATCH v10 0/4] ata: Add APM X-Gene SoC SATA host controller support

2014-02-13 Thread Loc Ho
Hi Tejun, With regard to make use of the standard ahci_platform and recent Hans' PHY works, the original version of the driver was an ahci_platform driver. Unfortunately, the APM X-Gene SATA controller is more complicate than an standard AHCI controller. In order to make it works properly, the fol

Re: [Lsf-pc] [LSF/MM TOPIC] SMR: Disrupting recording technology meriting a new class of storage device

2014-02-13 Thread Theodore Ts'o
On Tue, Feb 11, 2014 at 09:57:40AM -0200, Carlos Maiolino wrote: > > Thanks for clarification, and, this just enforce my concept that ZBC protocol > should be integrated in the generic block layer not make it device-mapper > dependent. So, make this available to any device that supports it with or

Re: [PATCH] Fix uses of dma_max_pfn() when converting to a limiting address

2014-02-13 Thread Russell King - ARM Linux
On Thu, Feb 13, 2014 at 10:07:01AM -0800, James Bottomley wrote: > On Thu, 2014-02-13 at 17:11 +, Russell King - ARM Linux wrote: > > On Thu, Feb 13, 2014 at 08:58:10AM -0800, James Bottomley wrote: > > > This doesn't really look like the right fix. You replaced dev->dma_mask > > > with a calc

re: [SCSI] bnx2fc: Broadcom FCoE offload driver

2014-02-13 Thread Eddie Wai
Hello Dan, Thanks for bringing this to our attention. We'll fix it upon our next patchset submission. Thanks, Eddie On Thu, 2014-02-13 at 12:52 +0300, Dan Carpenter wrote: > Hello Bhanu Gollapudi, > > The patch 853e2bd2103a: "[SCSI] bnx2fc: Broadcom FCoE offload driver" > from Feb 4, 2011, lea

Re: [PATCH] Fix uses of dma_max_pfn() when converting to a limiting address

2014-02-13 Thread James Bottomley
On Thu, 2014-02-13 at 17:11 +, Russell King - ARM Linux wrote: > On Thu, Feb 13, 2014 at 08:58:10AM -0800, James Bottomley wrote: > > This doesn't really look like the right fix. You replaced dev->dma_mask > > with a calculation on dev_max_pfn(). Since dev->dma_mask is always u64 > > and dev_

Re: [PATCH 19/22] pmcraid: Use pci_enable_msix_range()

2014-02-13 Thread Alexander Gordeev
On Tue, Feb 04, 2014 at 12:17:05PM +0100, Alexander Gordeev wrote: > As result of deprecation of MSI-X/MSI enablement functions > pci_enable_msix() and pci_enable_msi_block() all drivers > using these two interfaces need to be updated to use the > new pci_enable_msi_range() and pci_enable_msix_rang

Re: [PATCH 21/22] qla4xxx: Use pci_enable_msix_range()

2014-02-13 Thread Alexander Gordeev
On Tue, Feb 04, 2014 at 12:17:07PM +0100, Alexander Gordeev wrote: > As result of deprecation of MSI-X/MSI enablement functions > pci_enable_msix() and pci_enable_msi_block() all drivers > using these two interfaces need to be updated to use the > new pci_enable_msi_range() and pci_enable_msix_rang

Re: [PATCH 18/22] pmcraid: Get rid of a redundant assignment

2014-02-13 Thread Alexander Gordeev
On Tue, Feb 04, 2014 at 12:17:04PM +0100, Alexander Gordeev wrote: Anil, Any feedback? Thanks! -- Regards, Alexander Gordeev agord...@redhat.com -- 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 14/22] mpt2sas: Use pci_enable_msix_range()

2014-02-13 Thread Alexander Gordeev
On Tue, Feb 04, 2014 at 12:17:00PM +0100, Alexander Gordeev wrote: > As result of deprecation of MSI-X/MSI enablement functions > pci_enable_msix() and pci_enable_msi_block() all drivers > using these two interfaces need to be updated to use the > new pci_enable_msi_range() and pci_enable_msix_rang

Re: [PATCH 11/22] lpfc: Remove superfluous call to pci_disable_msix()

2014-02-13 Thread Alexander Gordeev
On Tue, Feb 04, 2014 at 12:16:57PM +0100, Alexander Gordeev wrote: Hi James, Any feedback? Thanks! -- Regards, Alexander Gordeev agord...@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: [PATCH 02/22] bfa: Do not call pci_enable_msix() once it failed

2014-02-13 Thread Alexander Gordeev
On Tue, Feb 04, 2014 at 12:16:48PM +0100, Alexander Gordeev wrote: > Function pci_enable_msix() should not be called again in > case it threw a negative errno. Anil, Vijaya, Any feedback on bfa patches? Thanks! -- Regards, Alexander Gordeev agord...@redhat.com -- To unsubscribe from this list:

Re: [PATCH] Fix uses of dma_max_pfn() when converting to a limiting address

2014-02-13 Thread Russell King - ARM Linux
On Thu, Feb 13, 2014 at 08:58:10AM -0800, James Bottomley wrote: > This doesn't really look like the right fix. You replaced dev->dma_mask > with a calculation on dev_max_pfn(). Since dev->dma_mask is always u64 > and dev_max_pfn is supposed to be returning the pfn of the dma_mask, it > should un

Re: [PATCH] Fix uses of dma_max_pfn() when converting to a limiting address

2014-02-13 Thread James Bottomley
On Tue, 2014-02-11 at 17:28 +, Russell King wrote: > We must use a 64-bit for this, otherwise overflowed bits get lost, and > that can result in a lower than intended value set. > > Fixes: 8e0cb8a1f6ac ("ARM: 7797/1: mmc: Use dma_max_pfn(dev) helper for > bounce_limit calculations") > Fixes:

Re: [PATCH] Fix uses of dma_max_pfn() when converting to a limiting address

2014-02-13 Thread Santosh Shilimkar
On Tuesday 11 February 2014 12:28 PM, Russell King wrote: > We must use a 64-bit for this, otherwise overflowed bits get lost, and > that can result in a lower than intended value set. > > Fixes: 8e0cb8a1f6ac ("ARM: 7797/1: mmc: Use dma_max_pfn(dev) helper for > bounce_limit calculations") > Fixe

[PATCH] modify sg_inq to read from hexdump

2014-02-13 Thread Hannes Reinecke
Hi Doug, and here's now the follow-up to my patchset 'Add EVPD pages to sysfs'; with this small tweak sg_inq can read the EVPD dumps from sysfs without any I/O. So I guess we're good to go with just having the raw data for the EVPD pages in sysfs, James. Cheers, Hannes -- Dr. Hannes Reinecke

[PATCHv7 0/3][Resend] Display EVPD pages in sysfs

2014-02-13 Thread Hannes Reinecke
Hi all, After discussion with jejb I've dropped the EVPD parsing. So with this version we're just displaying the EVPD page 0x80 and 0x83 as hexdumps; no parsing is attempted. This drastically simplifies the patch, and we don't have to worry about any parsing errors in kernel space. Of course we'll

[PATCH 2/3] Add EVPD page 0x83 to sysfs

2014-02-13 Thread Hannes Reinecke
EVPD page 0x83 is used to uniquely identify the device. So instead of having each and every program issue a separate SG_IO call to retrieve this information it does make far more sense to display it in sysfs. Cc: Jeremy Linton Cc: Kay Sievers Cc: Doug Gilbert Cc: Kai Makisara Signed-off-by: Ha

[PATCH 3/3] Add EVPD page 0x80 to sysfs

2014-02-13 Thread Hannes Reinecke
Some older devices (most notably tapes) will only report reliable information in page 0x80 (Unit Serial Number). So export this in the sysfs attribute 'vpd_pg80'. Cc: Doug Gilbert Cc: Jeremy Linton Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi.c| 27 ++-

[PATCH 1/3] scsi_sysfs: Implement 'is_visible' callback

2014-02-13 Thread Hannes Reinecke
Instead of modifying attributes after the device has been created we should be using the 'is_visible' callback to avoid races. Signed-off-by: Hannes Reinecke Reviewed-by: Christoph Hellwig --- drivers/scsi/scsi_sysfs.c | 184 +++--- 1 file changed, 93 ins

Re: [PATCH 06/16] scsi_dh_alua: use local buffer for VPD inquiry

2014-02-13 Thread Hannes Reinecke
On 02/13/2014 10:51 AM, Maurizio Lombardi wrote: > Hi, > > On 01/31/2014 10:29 AM, Hannes Reinecke wrote: >> static int alua_vpd_inquiry(struct scsi_device *sdev, struct alua_dh_data >> *h) >> { >> +unsigned char *buff; >> +unsigned char bufflen = 36; >> int len, timeout = ALUA_FAI

[PATCH 1/3] scsi_sysfs: Implement 'is_visible' callback

2014-02-13 Thread Hannes Reinecke
Instead of modifying attributes after the device has been created we should be using the 'is_visible' callback to avoid races. Signed-off-by: Hannes Reinecke Reviewed-by: Christoph Hellwig --- drivers/scsi/scsi_sysfs.c | 184 +++--- 1 file changed, 93 ins

[PATCHv7 0/3] Display EVPD pages in sysfs

2014-02-13 Thread Hannes Reinecke
Hi all, After discussion with jejb I've dropped the EVPD parsing. So with this version we're just displaying the EVPD page 0x80 and 0x83 as hexdumps; no parsing is attempted. This drastically simplifies the patch, and we don't have to worry about any parsing errors in kernel space. Hannes Reineck

[PATCH 3/3] Add EVPD page 0x80 to sysfs

2014-02-13 Thread Hannes Reinecke
Some older devices (most notably tapes) will only report reliable information in page 0x80 (Unit Serial Number). So export this in the sysfs attribute 'vpd_pg80'. Cc: Doug Gilbert Cc: Jeremy Linton Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi.c| 27 ++-

[PATCH 2/3] Add EVPD page 0x83 to sysfs

2014-02-13 Thread Hannes Reinecke
EVPD page 0x83 is used to uniquely identify the device. So instead of having each and every program issue a separate SG_IO call to retrieve this information it does make far more sense to display it in sysfs. Cc: Jeremy Linton Cc: Kay Sievers Cc: Doug Gilbert Cc: Kai Makisara Signed-off-by: Ha

re: [SCSI] bnx2fc: Broadcom FCoE offload driver

2014-02-13 Thread Dan Carpenter
Hello Bhanu Gollapudi, The patch 853e2bd2103a: "[SCSI] bnx2fc: Broadcom FCoE offload driver" from Feb 4, 2011, leads to the following static checker warning: drivers/scsi/bnx2fc/bnx2fc_hwi.c:1660 bnx2fc_init_mp_task() warn: we tested 'task_type == 3' before and it was 'false' dri

Re: [PATCH 06/16] scsi_dh_alua: use local buffer for VPD inquiry

2014-02-13 Thread Maurizio Lombardi
Hi, On 01/31/2014 10:29 AM, Hannes Reinecke wrote: > static int alua_vpd_inquiry(struct scsi_device *sdev, struct alua_dh_data *h) > { > + unsigned char *buff; > + unsigned char bufflen = 36; > int len, timeout = ALUA_FAILOVER_TIMEOUT; [...] >+ len = (buff[2] << 8) + buff[3] +

Re: [PATCH 04/16] scsi_dh_alua: Make stpg synchronous

2014-02-13 Thread Hannes Reinecke
On 02/12/2014 06:31 PM, Mike Christie wrote: > On 2/12/14 10:26 AM, Mike Christie wrote: >> On 2/12/14 10:11 AM, Mike Christie wrote: >>> On 2/12/14 9:29 AM, Hannes Reinecke wrote: On 02/07/2014 02:54 AM, Mike Christie wrote: > On 02/06/2014 07:24 PM, Mike Christie wrote: >> On 01/31/2