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
The trace is attached
--
-- Matthew Thode (prometheanfire)
On Fri, 31 Jan 2014 20:49:39 -0600
Matthew Thode <[email protected]> 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
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:[email protected]]
>Sent: Monday, February 03, 2014 7:54 PM
>To: [email protected]
>Cc: Nandigama, Nagalakshmi; Reddy, Sreekanth; Support; DL-MPT Fusion
>Linux; [email protected]; [email protected]; linux-
>[email protected]; [email protected]
>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 <[email protected]> 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
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" <[email protected]> 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:[email protected]]
> >Sent: Monday, February 03, 2014 7:54 PM
> >To: [email protected]
> >Cc: Nandigama, Nagalakshmi; Reddy, Sreekanth; Support; DL-MPT Fusion
> >Linux; [email protected]; [email protected]; linux-
> >[email protected]; [email protected]
> >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 <[email protected]> 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
>