From: Willy Tarreau <w@1wt.eu>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
linux@roeck-us.net, Andrey Grodzovsky <andrey2805@gmail.com>,
linux-scsi@vger.kernel.org,
Chaitra Basappa <chaitra.basappa@broadcom.com>,
Suganath Prabu Subramani <suganath-prabu.subramani@broadcom.com>,
Sreekanth Reddy <sreekanth.reddy@broadcom.com>,
Hannes Reinecke <hare@suse.de>,
"Martin K . Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH 3.10 141/319] scsi: mpt3sas: Fix secure erase premature termination
Date: Tue, 7 Feb 2017 18:12:34 +0100 [thread overview]
Message-ID: <20170207171234.GB4041@1wt.eu> (raw)
In-Reply-To: <1486486971.2488.19.camel@HansenPartnership.com>
On Tue, Feb 07, 2017 at 09:02:51AM -0800, James Bottomley wrote:
> On Tue, 2017-02-07 at 07:59 +0100, Willy Tarreau wrote:
> > Hi James,
> >
> > On Mon, Feb 06, 2017 at 10:38:48PM -0800, James Bottomley wrote:
> > > On Mon, 2017-02-06 at 23:26 +0100, Willy Tarreau wrote:
> > (...)
> > > > We don't have the referenced commit above in 3.10 so we should be
> > > > safe. Additionally I checked that neither 4.4 nor 3.12 have them
> > > > either, so that makes me feel confident that we can skip it in
> > > > 3.10 as well.
> > >
> > > The original was also racy with respect to multiple commands, so
> > > the above fixed the race as well.
> >
> > OK so I tried to backport it to 3.10. I dropped a few parts which
> > were addressing this one marked for stable 4.4+ :
> > 7ff723a ("scsi: mpt3sas: Unblock device after controller reset")
> >
> > And I got the attached patch. All I know is that it builds. I'd
> > appreciate it if someone could confirm its validity, in which case
> > I'll add it.
>
> The two patches apply without fuzz to your tree and the combination is
> a far better bug fix than the original regardless of whether 7ff723a
> exists in your tree or not. By messing with the patches all you do is
> add the potential for introducing new bugs for no benefit, so why take
> risk for no upside?
Just because I'm suggested to apply this fix which is supposed to fix
a regression brought by 7ff723a which itself is marked to fix 4.4+ only
and which doesn't apply to 3.10. So now I'm getting confused because
you say that these patches apply without fuzz but one part definitely
is rejected and the other one has to be applied by hand. I want not
to take a risk but I'm faced with these options :
- drop all these patches and stay as 3.10.104 is
- merge the "secure erase premature" + the the part of the patch
that supposedly fixes the regression it introduced
- merge this fix + 7ff723a + whatever it depends on (not fond of
it)
In all cases I don't even have the hardware to validate anything. I'd
be more tempted with the first two options. If you think I'm taking
risks by backporting the relevant part of the fix, I'll simply drop
them all and leave the code as it is now.
Thanks,
Willy
next prev parent reply other threads:[~2017-02-07 17:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1486322541-8206-1-git-send-email-w@1wt.eu>
2017-02-05 19:19 ` [PATCH 3.10 141/319] scsi: mpt3sas: Fix secure erase premature termination Willy Tarreau
2017-02-06 16:21 ` Sathya Prakash Veerichetty
2017-02-06 22:26 ` Willy Tarreau
2017-02-07 6:38 ` James Bottomley
2017-02-07 6:59 ` Willy Tarreau
2017-02-07 17:02 ` James Bottomley
2017-02-07 17:12 ` Willy Tarreau [this message]
2017-02-08 6:53 ` Willy Tarreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170207171234.GB4041@1wt.eu \
--to=w@1wt.eu \
--cc=James.Bottomley@HansenPartnership.com \
--cc=andrey2805@gmail.com \
--cc=chaitra.basappa@broadcom.com \
--cc=hare@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=martin.petersen@oracle.com \
--cc=sathya.prakash@broadcom.com \
--cc=sreekanth.reddy@broadcom.com \
--cc=stable@vger.kernel.org \
--cc=suganath-prabu.subramani@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).