All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Clarify the cases where BLKIF_RSP_EOPNOTSUPP can be returned.
@ 2025-08-28  9:38 Mark Syms
  2025-08-29  7:41 ` Roger Pau Monné
  2025-08-29  8:56 ` [PATCH v2] " Mark Syms
  0 siblings, 2 replies; 6+ messages in thread
From: Mark Syms @ 2025-08-28  9:38 UTC (permalink / raw)
  To: jgross, roger.pau, andrew.cooper3, xen-devel; +Cc: Mark Syms

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
  /* Operation failed for some unspecified reason (-EIO). */
 #define BLKIF_RSP_ERROR       -1
-- 
2.50.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-01 12:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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é
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ß

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.