All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wen Xiong <wenxiong@linux.ibm.com>
To: Keith Busch <kbusch@kernel.org>
Cc: Chaitanya Kulkarni <chaitanyak@nvidia.com>,
	Christoph Hellwig <hch@infradead.org>,
	linux-nvme@lists.infradead.org, Wenxiong <wenxiong@us.ibm.com>
Subject: Re: Saw I/O errors while delete/create/attach a namespace on nvme device.
Date: Tue, 07 Nov 2023 13:22:23 -0600	[thread overview]
Message-ID: <01dd34b45a53d876f6609b3417802cdc@linux.ibm.com> (raw)
In-Reply-To: <ZUpVOYvgmFzXEK0y@kbusch-mbp.dhcp.thefacebook.com>

On 2023-11-07 09:18, Keith Busch wrote:

Hi Keith,

> If you drop all open references to /dev/nvme0n1, then the handle should
> get deleted, and a manual rescan after that should get your new
> namespace visible.

Should we call nvme_ns_scan(*ctrl, nsid) again if nguid/uuid/eui64/csi 
are changed when recreating a namespace? Customers don't need to run 
ns-attach/ns-rescan manually in user space.

Thanks!
Wendy


  parent reply	other threads:[~2023-11-07 19:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-07  4:10 Saw I/O errors while delete/create/attach a namespace on nvme device Wen Xiong
2023-11-07  4:36 ` Chaitanya Kulkarni
2023-11-07  8:56 ` Christoph Hellwig
2023-11-07 10:25   ` Chaitanya Kulkarni
2023-11-07 14:31     ` Wen Xiong
2023-11-07 15:18       ` Keith Busch
2023-11-07 15:53         ` Wen Xiong
2023-11-07 19:22         ` Wen Xiong [this message]
2023-11-08  7:15         ` Christoph Hellwig
2023-11-07 13:26   ` Wen Xiong

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=01dd34b45a53d876f6609b3417802cdc@linux.ibm.com \
    --to=wenxiong@linux.ibm.com \
    --cc=chaitanyak@nvidia.com \
    --cc=hch@infradead.org \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=wenxiong@us.ibm.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 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.