From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Mark Syms <mark.syms@cloud.com>
Cc: jgross@suse.com, andrew.cooper3@citrix.com,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH] Clarify the cases where BLKIF_RSP_EOPNOTSUPP can be returned.
Date: Fri, 29 Aug 2025 09:41:34 +0200 [thread overview]
Message-ID: <aLFZrnHpul61b-5E@Mac.lan> (raw)
In-Reply-To: <20250828093821.372024-1-mark.syms@cloud.com>
On Thu, Aug 28, 2025 at 10:38:21AM +0100, Mark Syms wrote:
> Previously this said it would only happen on barrier writes. Except
> the documentation blocks for
> * feature-flush-cache
> * feature-discard
>
> Also say that they can return this error.
>
> Signed-off-by: Mark Syms <mark.syms@cloud.com>
> ---
> xen/include/public/io/blkif.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.h
> index 8407453324..5e617b0c67 100644
> --- a/xen/include/public/io/blkif.h
> +++ b/xen/include/public/io/blkif.h
> @@ -710,7 +710,7 @@ typedef struct blkif_response blkif_response_t;
> /*
> * STATUS RETURN CODES.
> */
> - /* Operation not supported (only happens on barrier writes). */
> + /* Operation not supported, see feature-barrier, feature-flush-cache, feature-discard. */
> #define BLKIF_RSP_EOPNOTSUPP -2
I think there's no need to mention the specific operations. FWIW,
blkback will return BLKIF_RSP_EOPNOTSUPP for any request type it
doesn't understand (see dispatch_other_io()), which covers any
possible request type that's not yet defined:
/* Operation not supported. */
#define BLKIF_RSP_EOPNOTSUPP -2
Should be fine.
Thanks, Roger.
next prev parent reply other threads:[~2025-08-29 7:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-28 9:38 [PATCH] Clarify the cases where BLKIF_RSP_EOPNOTSUPP can be returned Mark Syms
2025-08-29 7:41 ` Roger Pau Monné [this message]
2025-08-29 8:47 ` Mark Syms
2025-08-29 8:56 ` [PATCH v2] " Mark Syms
2025-09-01 11:09 ` Roger Pau Monné
2025-09-01 12:09 ` Jürgen Groß
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=aLFZrnHpul61b-5E@Mac.lan \
--to=roger.pau@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=jgross@suse.com \
--cc=mark.syms@cloud.com \
--cc=xen-devel@lists.xenproject.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 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.