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

From: Joe Lawrence
Date: Wed Feb 12 2014 - 11:56:20 EST


Hi Sreekanth,

There hasn't been much recent activity in
drivers/scsi/scsi_transport_sas.c, so I wasn't sure who could best
review the patch.

Dan Williams added sas_rphy_unlink() back in 2011, perhaps he can
remember why sas_bsg_remove wasn't performed there?

Regards,

-- Joe


On Wed, 12 Feb 2014 11:43:58 +0000
"Reddy, Sreekanth" <Sreekanth.Reddy@xxxxxxx> wrote:

> Hi Joe,
>
> May I known the status of this patch having subject
> "[PATCH] scsi_transport_sas: move bsg destructor into sas_rphy_remove".
>
> I need the status of this patch as I am also observing the same WARNING call trace on latest 3.14.0-rc2+ kernel whenever we unload the mpt2sas/mpt3sas driver or whenever we unplug the drive attached to the HBA.
> But after applying yours patch, these WARNING call trace is not observed.
>
> Regards,
> Sreekanth
>
> >-----Original Message-----
> >From: Joe Lawrence [mailto:joe.lawrence@xxxxxxxxxxx]
> >Sent: Monday, February 03, 2014 7:54 PM
> >To: prometheanfire@xxxxxxxxxx
> >Cc: Nandigama, Nagalakshmi; Reddy, Sreekanth; Support; DL-MPT Fusion
> >Linux; linux-scsi@xxxxxxxxxxxxxxx; JBottomley@xxxxxxxxxxxxx; linux-
> >kernel@xxxxxxxxxxxxxxx; kernel@xxxxxxxxxx
> >Subject: Re: mpt2sas driver barfs when force removing a drive on 3.13.1
> >
> >On Fri, 31 Jan 2014 20:49:39 -0600
> >Matthew Thode <prometheanfire@xxxxxxxxxx> wrote:
> >
> >> I decided to pull a drive while it was in use out of laziness (it was
> >> open via luks, but not in actual use). Got a fun trace as a result.
> >> Just thought you'd like to know :D
> >>
> >
> >Hi Matthew,
> >
> >The first trace looks a lot like what I see on mpt2sas driver removal [1]. I
> >posted a suggested fix back in Dec [2], which you might try, however it is not
> >reviewed at this point.
> >
> >[1] http://thread.gmane.org/gmane.linux.scsi/86237
> >[2] https://github.com/joe-
> >lawrence/linux/compare/scsi_transport_sas_sysfs_warning.patch
> >
> >Regards,
> >
> >-- Joe
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/