Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: hch@infradead.org (Christoph Hellwig)
Subject: [PATCH] nvme-core: trace discovery log change AEN
Date: Mon, 13 May 2019 06:24:01 -0700	[thread overview]
Message-ID: <20190513132401.GA2661@infradead.org> (raw)
In-Reply-To: <20190506193320.30884-1-chaitanya.kulkarni@wdc.com>

>  		trace_nvme_async_event(ctrl, aer_notice_type);
>  		queue_work(nvme_wq, &ctrl->fw_act_work);
>  		break;
> +	case NVME_AER_NOTICE_DISC_CHANGED:
> +		trace_nvme_async_event(ctrl, aer_notice_type);
> +		break;
>  #ifdef CONFIG_NVME_MULTIPATH
>  	case NVME_AER_NOTICE_ANA:
>  		trace_nvme_async_event(ctrl, aer_notice_type);

What about just moving the trace_nvme_async_event call before the
switch statement?

  parent reply	other threads:[~2019-05-13 13:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-06 19:33 [PATCH] nvme-core: trace discovery log change AEN Chaitanya Kulkarni
2019-05-08 18:00 ` Chaitanya Kulkarni
2019-05-09  8:27 ` Johannes Thumshirn
2019-05-13 13:24 ` Christoph Hellwig [this message]
2019-05-13 16:32   ` Chaitanya Kulkarni
2019-05-13 16:35     ` Christoph Hellwig

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=20190513132401.GA2661@infradead.org \
    --to=hch@infradead.org \
    /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