From: Or Gerlitz <gerlitz.or@gmail.com>
To: Mike Christie <michaelc@cs.wisc.edu>
Cc: Sagi Grimberg <sagig@dev.mellanox.co.il>,
mchristi@redhat.com,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
Guilherme Piccoli <gpiccoli@linux.vnet.ibm.com>,
Or Gerlitz <ogerlitz@mellanox.com>,
Shlomo Pongratz <shlomopongratz@gmail.com>
Subject: Re: [PATCH 1/1] iscsi: fix regression caused by session lock patch
Date: Fri, 13 Nov 2015 17:06:38 +0200 [thread overview]
Message-ID: <CAJ3xEMjiuCQ_ep1uF-8veM1C8TBvt2HWqgZMLsVmrApGHapT4Q@mail.gmail.com> (raw)
In-Reply-To: <5644FD6C.9070805@cs.wisc.edu>
On Thu, Nov 12, 2015 at 10:58 PM, Mike Christie <michaelc@cs.wisc.edu> wrote:
> On 11/12/2015 06:03 AM, Sagi Grimberg wrote:
>>> The bug is caused by this patch:
>>>
>>> 659743b02c411075b26601725947b21df0bb29c8
>>>
>>> which allowed the task lists to be manipulated under different locks
>>> in the xmit and completion path.
>>> To fix the oops this patch just reverts that patch. It also reverts
>>> these 2 patches for regressions that were also a result of that patch:
>> Whoa now Mike, this is a major change. Can we take a step back and think
>> about this for a second?
> The issue has been on the open-iscsi list for a week! You are on the
> list still right? Or is even ccd on the thread.
The email you sent me a week ago also cc-ed open-iscsi hence was
routed by a rule in my mailer that made it to land in my open-iscsi
subscription folder which is don't visit much nowadays. Only when you
posted to linux-scsi we saw that and responded within few hours, to
begin with.
>> Can you provide a more detailed analysis of why is this list corruption
>> triggered? What scenario was not honoring the locking policy?
> Basic locking around a linked list bug. iscsi_queuecommand adds it under
> the frwd lock and iscsi_complete_task was taking it off the back_lock.
>> This code has been running reliably in our labs for a long time now
>> (both iser and tcp).
> The patch has caused multiple regressions, did not even compile when
> sent to me, and was poorly reviewed and I have not heard from you guys
> in a week. Given the issues the patch has had and the current time, I do
> not feel comfortable with it anymore. I want to re-review it and fix it
> up when there is more time.
Mike (Hi),
It's a complex patch that touches all the iscsi transports, and yes,
when it was send to you the 1st time, there was build error on one of
the offload transports (bad! but happens) and yes, as you pointed, one
static checker fix + one bug fix for it went upstream after this has
been merged, happens too.
What makes you say it was poorly reviewed?
And now after few years in upstream a possibly real bug was found
(happens), why rush and revert? lets see if we can fix.
Or.
next prev parent reply other threads:[~2015-11-13 15:06 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-12 5:05 [PATCH 1/1] iscsi: fix regression caused by session lock patch mchristi
2015-11-12 12:03 ` Sagi Grimberg
2015-11-12 20:58 ` Mike Christie
2015-11-13 15:06 ` Or Gerlitz [this message]
2015-11-13 16:51 ` Mike Christie
2015-11-15 10:10 ` Or Gerlitz
[not found] ` <CAJ3xEMhQiywXo0=kRO7f=fW--1kc6mbNs_X7wLoYtXmRWeqBkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-11-16 17:30 ` Michael Christie
2015-11-17 16:55 ` Or Gerlitz
2015-11-18 11:30 ` Or Gerlitz
[not found] ` <CAJ3xEMiu4XBO2d1oLnrgay1uLQmY871n9Kn-yp73PAkfKNnp9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-11-18 18:39 ` Mike Christie
2016-11-07 18:15 ` Chris Leech
[not found] ` <20161107181556.cnhwst4nu63xtrqk-r8IHplWLGbA5tHQWs+pTeqPFFGjUI2lm2LY78lusg7I@public.gmane.org>
2016-11-07 18:23 ` Guilherme G. Piccoli
[not found] ` <5820C68E.6050206-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-11-09 5:21 ` Chris Leech
[not found] ` <20161109052142.j4psips7yvx7uohx-r8IHplWLGbA5tHQWs+pTeqPFFGjUI2lm2LY78lusg7I@public.gmane.org>
2016-11-12 1:51 ` Guilherme G. Piccoli
2017-02-06 13:19 ` Guilherme G. Piccoli
[not found] ` <631008bd-1e05-2c88-b153-695c76128eb4-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-02-06 17:27 ` Chris Leech
[not found] ` <1976057129.23970152.1486402069647.JavaMail.zimbra-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-02-06 18:24 ` Guilherme G. Piccoli
2017-02-06 19:22 ` Sagi Grimberg
2015-11-12 21:33 ` Chris Leech
2016-01-22 16:50 ` Brian King
2016-01-22 19:11 ` Mike Christie
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=CAJ3xEMjiuCQ_ep1uF-8veM1C8TBvt2HWqgZMLsVmrApGHapT4Q@mail.gmail.com \
--to=gerlitz.or@gmail.com \
--cc=gpiccoli@linux.vnet.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mchristi@redhat.com \
--cc=michaelc@cs.wisc.edu \
--cc=ogerlitz@mellanox.com \
--cc=sagig@dev.mellanox.co.il \
--cc=shlomopongratz@gmail.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).