From: "Michael S. Tsirkin" <mst@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Keiichi Watanabe <keiichiw@chromium.org>,
virtio-comment@lists.linux.dev, uekawa@chromium.org,
takayas@chromium.org, dverkamp@chromium.org, tytso@google.com,
Parav Pandit <parav@nvidia.com>
Subject: Re: [PATCH 0/1] A new virtio-blk error code for host-side ENOSPC
Date: Tue, 9 Jul 2024 09:31:08 -0400 [thread overview]
Message-ID: <20240709092959-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20240709121447.GA505842@dynamic-pd01.res.v6.highway.a1.net>
On Tue, Jul 09, 2024 at 02:14:47PM +0200, Stefan Hajnoczi wrote:
> On Wed, Jul 03, 2024 at 06:55:38PM -0400, Michael S. Tsirkin wrote:
> > On Wed, Jun 19, 2024 at 10:00:24AM -0400, Stefan Hajnoczi wrote:
> > > On Tue, Jun 18, 2024 at 05:18:57PM +0900, Keiichi Watanabe wrote:
> > > > This patch proposes a new error code VIRTIO_BLK_S_NOSPC to report
> > > > the device's ENOSPC error to the driver so the driver can treat it
> > > > in a different way from other IO errors.
> > > > More motivation is explained in fs-devel mail [1].
> > > >
> > > > [2] is a prototype implementation in crosvm and [3] is in virtio-blk
> > > > driver. Idealy, the error should be propagated to the guest file system
> > > > and handled smartly, but the part is still under discussion.
> > > >
> > > > [1]: https://lore.kernel.org/linux-fsdevel/CAD90VcZybb0ZOVrhE-MqDPwEya8878uzA1RBwd68U7x4CufkTQ@mail.gmail.com/T/#u
> > >
> > > I have replied on linux-fsdevel so we can discuss a bit more about the
> > > context and get input from storage and file systems people.
> > >
> > > Thanks,
> > > Stefan
> >
> > Stefan could you also comment on whether we are likely to add many more
> > errno values soonish?
>
> I'm not aware of other in-flight or upcoming work that will add new
> virtio-blk error codes.
>
> Stefan
I'd guess the original approach is ok then, if it's going to just be
this error for the next X years, we are better off with a simple
change.
--
MST
next prev parent reply other threads:[~2024-07-09 13:31 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-18 8:18 [PATCH 0/1] A new virtio-blk error code for host-side ENOSPC Keiichi Watanabe
2024-06-18 8:18 ` [PATCH 1/1] virito-blk: Support NOSPC error Keiichi Watanabe
2024-06-18 10:58 ` Michael S. Tsirkin
2024-06-18 12:14 ` Michael S. Tsirkin
2024-06-18 11:54 ` Parav Pandit
2024-06-18 12:18 ` Michael S. Tsirkin
2024-06-19 13:09 ` Keiichi Watanabe
2024-07-03 22:54 ` Michael S. Tsirkin
2024-07-04 9:46 ` Parav Pandit
2024-07-04 8:04 ` Michael S. Tsirkin
2024-07-04 9:52 ` Parav Pandit
2024-07-04 11:19 ` Michael S. Tsirkin
2024-07-04 16:12 ` Parav Pandit
2024-06-18 10:54 ` [PATCH 0/1] A new virtio-blk error code for host-side ENOSPC Michael S. Tsirkin
2024-06-19 13:06 ` Keiichi Watanabe
2024-06-19 14:00 ` Stefan Hajnoczi
2024-07-03 22:55 ` Michael S. Tsirkin
2024-07-09 12:14 ` Stefan Hajnoczi
2024-07-09 13:31 ` Michael S. Tsirkin [this message]
2024-07-11 9:16 ` Stefan Hajnoczi
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=20240709092959-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=dverkamp@chromium.org \
--cc=keiichiw@chromium.org \
--cc=parav@nvidia.com \
--cc=stefanha@redhat.com \
--cc=takayas@chromium.org \
--cc=tytso@google.com \
--cc=uekawa@chromium.org \
--cc=virtio-comment@lists.linux.dev \
/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.