Re: [PATCH 3/3] Make blk_cleanup_queue() wait until request_fn finished

2012-10-01 Thread Bart Van Assche
On 10/01/12 19:41, Dan Williams wrote: On Thu, Sep 27, 2012 at 9:39 AM, Bart Van Assche wrote: >> [ ... ] diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 593fc71..03571a3 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -1517,10 +1517,6 @@ static void

[PATCH 7/7] megaraid_sas: Version, Changelog, Copyright update

2012-10-01 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas updates the driver version, Changelog.megaraid_sas, and Copyright dates. Signed-off-by: Adam Radford diff -Naur scsi-misc/Documentation/scsi/ChangeLog.megaraid_sas scsi-misc.new/Documentation/scsi/ChangeLog.megaraid_sas --- scsi-misc/Docume

[PATCH 5/7] megaraid_sas: Add SystemPD FastPath support

2012-10-01 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas adds SystemPD FastPath support. Signed-off-by: Adam Radford diff -Naur scsi-misc/drivers/scsi/megaraid/megaraid_sas_fusion.c scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_fusion.c --- scsi-misc/drivers/scsi/megaraid/megaraid_sas_fusion.c

[PATCH 6/7] megaraid_sas: Remove duplicate code

2012-10-01 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas removes some duplicate code. Signed-off-by: Adam Radford diff -Naur scsi-misc/drivers/scsi/megaraid/megaraid_sas_base.c scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_base.c --- scsi-misc/drivers/scsi/megaraid/megaraid_sas_base.c 2012-10-

[PATCH 4/7] megaraid_sas: Add array boundary check for SystemPD

2012-10-01 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas adds an array boundary check for the SystemPD build path. Signed-off-by: Adam Radford diff -Naur scsi-misc/drivers/scsi/megaraid/megaraid_sas_fusion.c scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_fusion.c --- scsi-misc/drivers/scsi/mega

[PATCH 3/7] megaraid_sas: Load io_request DataLength in bytes

2012-10-01 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas loads io_request->DataLength in bytes for newer firmware that supports high availability. Signed-off-by: Adam Radford diff -Naur scsi-misc/drivers/scsi/megaraid/megaraid_sas_fusion.c scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_fusion.c

[PATCH 2/7] megaraid_sas: Add module param for configurable MSI-X vector count

2012-10-01 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas adds a module parameter for configurable MSI-X vector count. Signed-off-by: Adam Radford diff -Naur scsi-misc/drivers/scsi/megaraid/megaraid_sas_base.c scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_base.c --- scsi-misc/drivers/scsi/megar

[PATCH 1/7] megaraid_sas: Remove un-needed completion_lock spinlock calls

2012-10-01 Thread adam radford
James/linux-scsi, The following patch for megaraid_sas removes some un-needed completion_lock spinlock calls. Signed-off-by: Adam Radford diff -Naur scsi-misc/drivers/scsi/megaraid/megaraid_sas_fusion.c scsi-misc.new/drivers/scsi/megaraid/megaraid_sas_fusion.c --- scsi-misc/drivers/scsi/megarai

[PATCH 0/7] megaraid_sas: Updates for scsi for-next

2012-10-01 Thread adam radford
James/linux-scsi, The following patch series for megaraid_sas brings the driver up to v06.504.01.00-rc1: 1. Remove un-needed completion_lock spinlock calls. 2. Add module param for configurable MSI-X vector count. 3. Load io_request DataLength in bytes. 4. Add array boundary check for SystemPD. 5

Re: [PATCH 0/3] Insert ATA transport objects in SCSI syfs topology.

2012-10-01 Thread Dan Williams
On Mon, Oct 1, 2012 at 11:22 AM, Gwendal Grignou wrote: > This set of patches improve ATA transport classes integration with SCSI > objects. > > Before [2.6.x] > > Ata and scsi transport class where separated: > `--:09:00.0 > | `--ata1 > | | `--port_port > | | `--link1 > | | | `--dev1.

[PATCH 3/3] libata: Change transport topology layout

2012-10-01 Thread Gwendal Grignou
Integrate ata objects [port, link, device] with scsi objects. The path of a scsi device is: .../:00:1f.2/host0/port1/link1/dev1.0/target0:0:0/0:0:0:0 or when a port multiplier is present: for instance the device in port 4 of the port multiplier: .../:00:06.0/:09:00.0/host5/port6/link

[PATCH 2/3] scsi: Allow devices to have arbitrary parent

2012-10-01 Thread Gwendal Grignou
Allow driver who calls __scsi_add_device directly to create the scsi device on any parent, not just scsi_host directly. This is alreay done for transport with their own class [SAS, iSCSI, FC, ...] Signed-off-by: Gwendal Grignou --- drivers/ata/libata-scsi.c |4 ++-- drivers/firewire/sbp

[PATCH 0/3] Insert ATA transport objects in SCSI syfs topology.

2012-10-01 Thread Gwendal Grignou
This set of patches improve ATA transport classes integration with SCSI objects. Before [2.6.x] Ata and scsi transport class where separated: `--:09:00.0 | `--ata1 | | `--port_port | | `--link1 | | | `--dev1.0 | | | `--dev1.1 | `--ata2 | ... | `--host0 | | `--scsi_host | | |

Re: [PATCH 3/3] Make blk_cleanup_queue() wait until request_fn finished

2012-10-01 Thread Dan Williams
On Thu, Sep 27, 2012 at 9:39 AM, Bart Van Assche wrote: > Some request_fn implementations, e.g. scsi_request_fn(), unlock > the queue lock. Make sure that blk_cleanup_queue() waits until all > active request_fn invocations have finished. This fixes a potential > use-after-free at the end of scsi_r

Re: [PATCH] [SCSI] virtio-scsi: Initialize scatterlist structure.

2012-10-01 Thread Paolo Bonzini
Il 01/10/2012 15:18, Richard W.M. Jones ha scritto: > On Mon, Oct 01, 2012 at 03:13:01PM +0200, Paolo Bonzini wrote: >> Il 20/08/2012 16:05, Paolo Bonzini ha scritto: >>> Il 20/08/2012 16:04, Richard W.M. Jones ha scritto: From: "Richard W.M. Jones" The sg struct is used without bei

Re: [PATCH] [SCSI] virtio-scsi: Initialize scatterlist structure.

2012-10-01 Thread Richard W.M. Jones
On Mon, Oct 01, 2012 at 03:13:01PM +0200, Paolo Bonzini wrote: > Il 20/08/2012 16:05, Paolo Bonzini ha scritto: > > Il 20/08/2012 16:04, Richard W.M. Jones ha scritto: > >> From: "Richard W.M. Jones" > >> > >> The sg struct is used without being initialized. > >> > >> https://bugzilla.redhat.com/s

Re: [PATCH] [SCSI] virtio-scsi: Initialize scatterlist structure.

2012-10-01 Thread Paolo Bonzini
Il 20/08/2012 16:05, Paolo Bonzini ha scritto: > Il 20/08/2012 16:04, Richard W.M. Jones ha scritto: >> From: "Richard W.M. Jones" >> >> The sg struct is used without being initialized. >> >> https://bugzilla.redhat.com/show_bug.cgi?id=847548 >> >> Signed-off-by: Richard W.M. Jones >> --- >> dri

Re: [PATCH 0/2] virtio-scsi fixes for 3.6

2012-10-01 Thread Paolo Bonzini
Il 26/07/2012 15:28, Paolo Bonzini ha scritto: > James, > > patch 1 fixes scanning of LUNs whose number is greater than 255. QEMU > passes a max_lun of 16383 (because it uses SAM numbering) but in Linux > it must become 32768 (because LUNs above 255 are "relocated" to 16640). > Patch 2 is a resub

Re: [SCSI] mpt2sas T10 DIF fixes

2012-10-01 Thread Pasi Kärkkäinen
On Fri, Aug 17, 2012 at 12:00:55PM -0400, Martin K. Petersen wrote: > > "Ankit" == Ankit Jain writes: > > Ankit> Will these patches be merged? Or have they been superseded by > Ankit> some other patchset? > > Sorry, I've been out on vacation. > > 2 of the patches are absolutely trivial and

Re: [PATCH 1/6] target/file: Re-enable optional fd_buffered_io=1 operation

2012-10-01 Thread Christoph Hellwig
On Sun, Sep 30, 2012 at 05:58:11AM +, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > This patch re-adds the ability to optionally run in buffered FILEIO mode > (eg: w/o O_DSYNC) for device backends in order to once again use the > Linux buffered cache as a write-back storage mech

Re: [SCSI PATCH] sd: max-retries becomes configurable

2012-10-01 Thread Ric Wheeler
On 09/25/2012 04:08 PM, James Bottomley wrote: On Tue, 2012-09-25 at 01:21 -0400, Jeff Garzik wrote: On 09/25/2012 12:06 AM, James Bottomley wrote: On Mon, 2012-09-24 at 17:00 -0400, Jeff Garzik wrote: drivers/scsi/sd.c |4 drivers/scsi/sd.h |2 +- 2 files changed, 5 insert