Re: [PATCHv3 0/9] New EH command timeout handler

2013-07-12 Thread Hannes Reinecke
On 07/12/2013 06:14 AM, Ren Mingxin wrote: Hi, Hannes: On 07/01/2013 10:24 PM, Hannes Reinecke wrote: With the original SCSI EH I got: # time dd if=/dev/zero of=/dev/dm-2 bs=4k count=4k oflag=direct 4096+0 records in 4096+0 records out 16777216 bytes (17 MB) copied, 142.652 s, 118 kB/s

[PATCH] fnic: use simple_open instead of fnic_trace_ctrl_open

2013-07-12 Thread Camelia Groza
This removes the open coded fnic_trace_ctrl_open() function and replaces file operations references to the function with simple_open() instead. Found using coccinelle. Signed-off-by: Camelia Groza camelia.gr...@gmail.com --- drivers/scsi/fnic/fnic_debugfs.c | 19 +-- 1 file

[PATCH] [SCSI] lpfc 8.3.40: Remove useless cast

2013-07-12 Thread Vladimir Cernov
Found using coccinelle tool. Signed-off-by: Vladimir Cernov gg.kasper...@gmail.com --- drivers/scsi/lpfc/lpfc_init.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index e0b20fa..b7621f6 100644 ---

[PATCH] ic7xxx_osm: use kzalloc instead of kmalloc + memset

2013-07-12 Thread Cosmin Stanescu
found using coccinelle. Signed-off-by: Cosmin Stanescu cosmin90stane...@gmail.com --- drivers/scsi/aic7xxx/aic7xxx_osm.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index c0c6258..7167cfe 100644

hi

2013-07-12 Thread voady4cool
Ciao il mio nome è vera devo dire che scintilla il mio interesse per un buon partner, mi piacerebbe sapere di più per lo scambio di amore e di amicizia, non esitate a inviarmi una e-mail attraverso il mio id mail (vera.matine @ yahoo. com) Please in modo che io vi manderò la mia foto e ti dirà

Re: [PATCH V2 1/4] scsi_transport_iscsi: Exporting new attrs for iscsi session and connection in sysfs

2013-07-12 Thread Mike Christie
The V2 of this patchset looks ok now. I did a quick compile test to verify they apply and compile against the current scsi misc code that has Eddie's changes in it. James, sorry about the mismatch on the V1. I forgot Eddie's patches were getting merged and would conflict with Vikas's patches in

Re: [PATCHv3 0/9] New EH command timeout handler

2013-07-12 Thread Ren Mingxin
Hi, Hannes: On 07/12/2013 02:09 PM, Hannes Reinecke wrote: On 07/12/2013 06:14 AM, Ren Mingxin wrote: On 07/01/2013 10:24 PM, Hannes Reinecke wrote: With the original SCSI EH I got: # time dd if=/dev/zero of=/dev/dm-2 bs=4k count=4k oflag=direct 4096+0 records in 4096+0 records out 16777216

Re: [PATCHv3 0/9] New EH command timeout handler

2013-07-12 Thread Hannes Reinecke
On 07/12/2013 12:00 PM, Ren Mingxin wrote: Hi, Hannes: On 07/12/2013 02:09 PM, Hannes Reinecke wrote: On 07/12/2013 06:14 AM, Ren Mingxin wrote: On 07/01/2013 10:24 PM, Hannes Reinecke wrote: With the original SCSI EH I got: # time dd if=/dev/zero of=/dev/dm-2 bs=4k count=4k oflag=direct

Re: [Ksummit-2013-discuss] [ATTEND] scsi-mq prototype discussion

2013-07-12 Thread Hannes Reinecke
On 07/12/2013 03:33 AM, Nicholas A. Bellinger wrote: On Thu, 2013-07-11 at 18:02 -0700, Greg KH wrote: On Thu, Jul 11, 2013 at 05:23:32PM -0700, Nicholas A. Bellinger wrote: Drilling down the work items ahead of a real mainline push is high on priority list for discussion. The parties to be

laina tarjous

2013-07-12 Thread SUN EAST FEDERAL CREDIT UNION
Hyvää päivää, Meillä on ilo kirjoittaa teille vielä oikeuta lainoja postitse ilmoituksesi. Sun East Federal Credit Union, Toimimme lyhyitä, selkeitä ja ymmärrettäviä ehtoja Annamme lainaa alhaisella korolla 3%. Hyvät lukijat pitäisi huomata, että tämä tarjous on vakava ajattelevia

The pm80xx driver hangs in 3.10 with the Adaptec 71605H HBA

2013-07-12 Thread Hans Verkuil
Hi! I am trying to get my Adaptec 71605H HBA to work with kernel 3.10. Unfortunately it hangs while waiting for a completion. After registering all the interrupts the pm8001_pci_probe() function calls pm8001_init_sas_add(). That function calls PM8001_CHIP_DISP-get_nvmd_req() and waits for a

Re: [PATCHv2 0/7] Limit overall SCSI EH runtime

2013-07-12 Thread Ewan Milne
On Fri, 2013-07-12 at 13:54 +0800, Ren Mingxin wrote: Hi, Ewan: I'm wondering how do you test, with a special hardware or self-made module?Would you mind pasting your test method() and result? Hi Rex- This was tested in a SAN environment with an EMC Symmetrix and Brocade FC switches. The

[PATCH] [SCSI] isci: Fix a race condition in the SSP task management path

2013-07-12 Thread Jeff Skirvin
This commit fixes a race condition in the isci driver abort task and SSP device task management path. The race is caused when an I/O termination in the SCU hardware is necessary because of an SSP target timeout condition, and the check of the I/O end state races against the HW-termination-driven

Re: [RFC/PATCH 4/4] block: Add URGENT request notification support to CFQ scheduler

2013-07-12 Thread Tanya Brokhman
Hello Jeff Thank you for your comments. Please see inline. On 7/11/2013 9:41 PM, Jeff Moyer wrote: Tanya Brokhman tlin...@codeaurora.org writes: When the scheduler reports to the block layer that there is an urgent request pending, the device driver may decide to stop the transmission of the

[PATCH v4 2/2] block: modify __bio_add_page check to accept pages that don't start a new segment

2013-07-12 Thread Jan Vesely
From: Jan Vesely jves...@redhat.com The original behavior was to refuse all pages after the maximum number of segments has been reached. However, some drivers (like st) craft their buffers to potentially require exactly max segments and multiple pages in the last segment. This patch modifies the

[PATCH v4 0/2] block: Allow merging of tail pages into the last segment

2013-07-12 Thread Jan Vesely
Hi These patches modify __bio_add_page to accept pages that extent the last bio segment. some drivers craft their buffers and rely on this behavior (see message in patch 2 for details) jan v4: whitespace fixes to make checkpatch happy v3: Use code from __blk_recalc_rq_segments to decide

[PATCH v4 1/2] block: factor out vector mergeable decision to a helper function

2013-07-12 Thread Jan Vesely
From: Jan Vesely jves...@redhat.com Export the function so it can be used to predict segment counts without calling the recalc function. This will be used in the next patch. Signed-off-by: Jan Vesely jves...@redhat.com CC: Alexander Viro v...@zeniv.linux.org.uk CC: James Bottomley

[RFC/PATCH/RESEND v2 1/4] block: make rq-cmd_flags be 64-bit

2013-07-12 Thread Tanya Brokhman
From: Jens Axboe ax...@kernel.dk We have officially run out of flags in a 32-bit space. Extend it to 64-bit even on 32-bit archs. Signed-off-by: Jens Axboe ax...@kernel.dk diff --git a/block/blk-core.c b/block/blk-core.c index 93a18d1..cfa4dd3 100644 --- a/block/blk-core.c +++

Linux Plumbers IO File System Micro-conference

2013-07-12 Thread Ric Wheeler
Linux Plumbers has approved a file and storage microconference. The overview page is here: http://wiki.linuxplumbersconf.org/2013:file_and_storage_systems I would like to started gathering in ideas for topics. I have been approached already with a request to cover the copy_range work Zach

RE: Linux Plumbers IO File System Micro-conference

2013-07-12 Thread faibish, sorin
Can we have a discussion on Lustre client in the kernel? Thanks ./Sorin -Original Message- From: linux-fsdevel-ow...@vger.kernel.org [mailto:linux-fsdevel-ow...@vger.kernel.org] On Behalf Of Ric Wheeler Sent: Friday, July 12, 2013 1:21 PM To: linux-scsi@vger.kernel.org; Linux FS Devel;

[PATCH 2/2] qla2xxx: Properly set the tagging for commands.

2013-07-12 Thread Saurav Kashyap
Reported-by: Jack Hill jackh...@jackhill.us Signed-off-by: Saurav Kashyap saurav.kash...@qlogic.com Signed-off-by: Giridhar Malavali giridhar.malav...@qlogic.com --- drivers/scsi/qla2xxx/qla_iocb.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git

[PATCH 0/2] qla2xxx: Patches for 3.10-rc.

2013-07-12 Thread Saurav Kashyap
Hi James, Please apply the following patches for 3.10-rc. Thanks, ~Saurav Saurav Kashyap (2): qla2xxx: Fix sparse warnings in qlafx00_fxdisc_iocb function. qla2xxx: Properly set the tagging for commands. drivers/scsi/qla2xxx/qla_iocb.c | 11 +-- drivers/scsi/qla2xxx/qla_mr.h

[PATCH 1/2] qla2xxx: Fix sparse warnings in qlafx00_fxdisc_iocb function.

2013-07-12 Thread Saurav Kashyap
Signed-off-by: Saurav Kashyap saurav.kash...@qlogic.com Signed-off-by: Giridhar Malavali giridhar.malav...@qlogic.com --- drivers/scsi/qla2xxx/qla_mr.h |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_mr.h b/drivers/scsi/qla2xxx/qla_mr.h index

[RFC/RFT PATCH 3/5] scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations

2013-07-12 Thread Santosh Shilimkar
DMA bounce limit is the maximum direct DMA'able memory beyond which bounce buffers has to be used to perform dma operations. SCSI driver relies on dma_mask but its calculation is based on max_*pfn which don't have uniform meaning across architectures. So make use of dma_max_pfn() which is expected

Re: [RFC/RFT PATCH 3/5] scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations

2013-07-12 Thread Sergei Shtylyov
Hello. On 07/13/2013 01:48 AM, Santosh Shilimkar wrote: DMA bounce limit is the maximum direct DMA'able memory beyond which bounce buffers has to be used to perform dma operations. SCSI driver relies on dma_mask but its calculation is based on max_*pfn which don't have uniform meaning across

Re: [RFC/RFT PATCH 3/5] scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations

2013-07-12 Thread Russell King - ARM Linux
On Sat, Jul 13, 2013 at 01:55:58AM +0400, Sergei Shtylyov wrote: Hello. On 07/13/2013 01:48 AM, Santosh Shilimkar wrote: DMA bounce limit is the maximum direct DMA'able memory beyond which bounce buffers has to be used to perform dma operations. SCSI driver relies on dma_mask but its

Re: [RFC/RFT PATCH 3/5] scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations

2013-07-12 Thread Sergei Shtylyov
Hello. On 07/13/2013 02:25 AM, Russell King - ARM Linux wrote: DMA bounce limit is the maximum direct DMA'able memory beyond which bounce buffers has to be used to perform dma operations. SCSI driver relies on dma_mask but its calculation is based on max_*pfn which don't have uniform meaning

Re: [RFC/RFT PATCH 3/5] scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations

2013-07-12 Thread Sergei Shtylyov
On 07/13/2013 03:08 AM, Sergei Shtylyov wrote: DMA bounce limit is the maximum direct DMA'able memory beyond which bounce buffers has to be used to perform dma operations. SCSI driver relies on dma_mask but its calculation is based on max_*pfn which don't have uniform meaning across

Re: [RFC/RFT PATCH 3/5] scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations

2013-07-12 Thread Russell King - ARM Linux
On Sat, Jul 13, 2013 at 03:42:55AM +0400, Sergei Shtylyov wrote: diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 86d5220..e8275fa 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -1668,7 +1668,7 @@ u64 scsi_calculate_bounce_limit(struct Scsi_Host

Re: [PATCH] fnic: use simple_open instead of fnic_trace_ctrl_open

2013-07-12 Thread Hiral Patel (hiralpat)
On 7/11/13 11:50 PM, Camelia Groza camelia.gr...@gmail.com wrote: This removes the open coded fnic_trace_ctrl_open() function and replaces file operations references to the function with simple_open() instead. Found using coccinelle. Signed-off-by: Camelia Groza camelia.gr...@gmail.com ---

[GIT PULL] Final round of SCSI updates for the 3.10+ merge window

2013-07-12 Thread James Bottomley
This is the remaining set of SCSI patches for the merge window. it's mostly driver updates (scsi_debug, qla2xxx, storvsc, mp3sas). There are also several bug fixes in fcoe, libfc, and megaraid_sas. We also have a couple of core changes to try to make device destruction more deterministic. The