On Wed, 10 Mar 2010 04:03:04 -0600 Sarang Radke <sarang.radke@xxxxxxxxxx> wrote: > James S./Fujita, > > Thanks for the comments. The description of scenario was the one with which I noted the issue. But yes, the same would be true for any rport which is offline. > > I am resending the patch with the suggested modifications. > > -Thanks, > Sarang > > From 84a1f847c71382f67f97ea956b2283cf6d737340 Mon Sep 17 00:00:00 2001 > From: Sarang Radke <sarang.radke@xxxxxxxxxx> > Date: Tue, 9 Mar 2010 12:20:29 -0500 > Subject: [PATCH] Make sure commands are completed for offline rport > > blk_end_request doesn't complete a bidi request > successfully > > The unfinished request eventually triggers a panic in > timeout handling routine fc_bsg_job_timeout as > req->special is NULL > > Use blk_end_request_all to end the request unconditionally > > Signed-off-by: Lalit Chandivade <lalit.chandivade@xxxxxxxxxx> > --- > drivers/scsi/scsi_transport_fc.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Acked-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> Thanks, -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html