Backporting 'libsas: fix timeout vs completion race' and related patches to 3.2.51 recommended?

2013-10-25 Thread Amit Uttamchandani
Hello, Tested kernel 3.4.62, which introduces: libsas error handling + discovery patch set http://lwn.net/Articles/476986/ Is it advisable for me to backport this to v3.2.51? Thanks, Amit -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to maj

Re: [PATCH 03/10] scsi_transport_srp: Add transport layer error handling

2013-10-25 Thread David Dillow
On Sat, 2013-10-19 at 18:13 +0200, Bart Van Assche wrote: > Since it takes some work to figure out the state transitions from the > source code, I have tried to draw a diagram representing all state > transitions. I have attached that diagram to this e-mail. That diagram > probably will make it

Re: [PATCH 0/10] IB SRP initiator patches for kernel 3.12

2013-10-25 Thread David Dillow
On Thu, 2013-10-10 at 14:05 +0200, Bart Van Assche wrote: > The purpose of this InfiniBand SRP initiator patch series is as follows: > - Make the SRP initiator driver better suited for use in a H.A. setup. >Add fast_io_fail_tmo, dev_loss_tmo and reconnect_delay parameters. >With the default

Re: [PATCH] target/pscsi: fix return value check

2013-10-25 Thread Nicholas A. Bellinger
Hi Wei, On Fri, 2013-10-25 at 21:53 +0800, Wei Yongjun wrote: > From: Wei Yongjun > > In case of error, the function scsi_host_lookup() returns NULL > pointer not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. > > Signed-off-by: Wei Yongjun > --- A

[PATCH] vhost/scsi: Fix incorrect usage of get_user_pages_fast write parameter

2013-10-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch addresses a long-standing bug where the get_user_pages_fast() write parameter used for setting the underlying page table entry permission bits was incorrectly set to write=1 for data_direction=DMA_TO_DEVICE, and passed into get_user_pages_fast() via vhost_scsi_

[PATCH] target/pscsi: fix return value check

2013-10-25 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function scsi_host_lookup() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun --- drivers/target/target_core_pscsi.c | 8 1 file changed, 4 insertions(+)

[PATCH] megaraid_sas: make the log message about rescanning more informative.

2013-10-25 Thread Jasper Spaans
Hi, I was working on one of our servers, and saw the following interesting message in dmesg: [20961024.720972] scanning ... This scared me somewhat. Please find a patch to make it easier to see where this message is coming from. Cheers, Jasper --- drivers/scsi/megaraid/megaraid_sas_base.c |

Re: [3.12-rc] sg_open: leaving the kernel with locks still held!

2013-10-25 Thread James Bottomley
On Thu, 2013-10-24 at 17:37 -0700, Simon Kirby wrote: > On Wed, Oct 23, 2013 at 10:10:47AM -0400, Douglas Gilbert wrote: > > > On 13-10-23 03:44 AM, James Bottomley wrote: > > >On Tue, 2013-10-22 at 20:41 -0400, Douglas Gilbert wrote: > > >>On 13-10-22 04:56 PM, Simon Kirby wrote: > > >>>Hello! >