From: hch@lst.de (Christoph Hellwig)
Subject: please revert a nvme-cli commit
Date: Thu, 14 Jun 2018 14:42:37 +0200 [thread overview]
Message-ID: <20180614124237.GA28896@lst.de> (raw)
In-Reply-To: <64647508-fd1f-9ec2-171d-88ba2a5653b7@broadcom.com>
On Wed, Jun 13, 2018@08:51:38AM -0700, James Smart wrote:
> Really ?? sigh.? I have lots of consumers that have no issues with these
> changes and there is nothing that acts "incompatible".?? It's been 1.5
> months - where have you been?
>
> These conditions can occur independent of any change in kernel
> implementation and are significant robustness corrections.
I don't agree. For one so far we've guaranteed the device node
appears before we return from the write to the /dev/nvme-fabrics
device. If that changes it is a significant ABI break, and we need
to fix that in the kernel.
And if it wasn't the fix is still wrong - we'd need to wait for it to
appear using libudev APIs and/or one of the file notification syscalls
rather than adding a probing loop that is in a different place than
the actual open.
And for retrying the actual I/O we need to decide on the exact semantics
we want to support first. Blind n time retry is always a bad idea,
we need to build some sort of reliable infrastructure. Be that
optionally marking requests as not failfast, and/or some sort of poll
notification for a device that is ready.
next prev parent reply other threads:[~2018-06-14 12:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-13 7:55 please revert a nvme-cli commit Christoph Hellwig
2018-06-13 13:31 ` Keith Busch
2018-06-13 15:51 ` James Smart
2018-06-14 12:42 ` Christoph Hellwig [this message]
2018-06-14 16:29 ` James Smart
2018-06-15 9:38 ` 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=20180614124237.GA28896@lst.de \
--to=hch@lst.de \
/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