All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nilay Shroff <nilay@linux.ibm.com>
To: Ming Lei <ming.lei@redhat.com>
Cc: linux-nvme@lists.infradead.org, kbusch@kernel.org, hch@lst.de,
	sagi@grimberg.me, axboe@fb.com, chaitanyak@nvidia.com,
	dlemoal@kernel.org, gjoyce@linux.ibm.com
Subject: Re: [PATCH 1/3] Revert "nvme: make keep-alive synchronous operation"
Date: Tue, 29 Oct 2024 18:16:01 +0530	[thread overview]
Message-ID: <22ac5b67-9968-4c53-af90-dd83b0efbd76@linux.ibm.com> (raw)
In-Reply-To: <CAFj5m9Ka-EL34DbDCm4kMYoWXfQ6GhMRPJykywE4RztbB3zXYg@mail.gmail.com>



On 10/29/24 12:18, Ming Lei wrote:
> On Mon, Oct 28, 2024 at 1:03 AM Nilay Shroff <nilay@linux.ibm.com> wrote:
>>
>> This reverts commit d06923670b5a5f609603d4a9fee4dec02d38de9c.
>> This reverts commit 599d9f3a10eec69ef28a90161763e4bd7c9c02bf.
>>
>> It was realized that the fix implemented to avoid the race
>> condition between keep alive task and the fabric shutdown code
>> path in the commit d06923670b5ia ("nvme: make keep-alive
>> synchronous operation") is not optimal.
> 
> I saw you have discussed it a while, but it is still better to describe
> the reason in the commit log.
> 
Sure, I would enhance the commit message to clarify it further.
>>
>> We also found that the above race condition is regression caused
>> due to the changes implemented in commit a54a93d0e359 ("nvme: move
>> stopping keep-alive into nvme_uninit_ctrl()"). So we decided to
> 
> Can you explain a bit why commit a54a93d0e359 is a regression?
> And what is the race condition?
> 
> Without providing the context info, it is hard to review the change.
> 
> Thanks,
> 
> 
OK, the root cause of the race condition and how it could be triggered 
has been already discussed here[1].

In any case, if you still want me to clarify it further then please let
me know.

[1]https://lore.kernel.org/all/b03863b2-8816-48cd-aa18-436f1c49ec8c@linux.ibm.com

Thanks,
--Nilay


  reply	other threads:[~2024-10-29 13:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-27 17:02 [PATCH 0/3] nvme: fix system fault observed while shutting down controller Nilay Shroff
2024-10-27 17:02 ` [PATCH 1/3] Revert "nvme: make keep-alive synchronous operation" Nilay Shroff
2024-10-27 22:05   ` Sagi Grimberg
2024-10-29  6:48   ` Ming Lei
2024-10-29 12:46     ` Nilay Shroff [this message]
2024-10-27 17:02 ` [PATCH 2/3] nvme-fabrics: fix kernel crash while shutting down controller Nilay Shroff
2024-10-27 22:05   ` Sagi Grimberg
2024-10-29  7:23   ` Ming Lei
2024-10-29 12:40     ` Nilay Shroff
2024-10-30  2:20       ` Ming Lei
2024-10-30 10:38         ` Nilay Shroff
2024-10-30 12:51           ` Ming Lei
2024-10-31 10:10             ` Nilay Shroff
2024-10-27 17:02 ` [PATCH 3/3] nvme: use helper nvme_ctrl_state in nvme_keep_alive_end_io function Nilay Shroff
2024-10-27 22:07   ` Sagi Grimberg
2024-10-28  4:43     ` Nilay Shroff
2024-10-29 14:58       ` Keith Busch
2024-10-29 15:01   ` Keith Busch
2024-10-30  6:07     ` Nilay Shroff
2024-11-01 19:13       ` Keith Busch
2024-11-03 17:54         ` Nilay Shroff

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=22ac5b67-9968-4c53-af90-dd83b0efbd76@linux.ibm.com \
    --to=nilay@linux.ibm.com \
    --cc=axboe@fb.com \
    --cc=chaitanyak@nvidia.com \
    --cc=dlemoal@kernel.org \
    --cc=gjoyce@linux.ibm.com \
    --cc=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=ming.lei@redhat.com \
    --cc=sagi@grimberg.me \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.