All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Wouter Verhelst <w@uter.be>, Alex Bligh <alex@alex.org.uk>
Cc: "nbd-general@lists.sourceforge.net"
	<nbd-general@lists.sourceforge.net>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Nbd] [PATCH] Strawman proposal for NBD structured replies
Date: Tue, 29 Mar 2016 16:58:26 -0600	[thread overview]
Message-ID: <56FB0892.2020703@redhat.com> (raw)
In-Reply-To: <20160329223129.GA5466@grep.be>

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

On 03/29/2016 04:31 PM, Wouter Verhelst wrote:
> 
> Maybe the "MAY set the offset" above should just be a "MUST set the
> offset", with the clarification that the offset "MUST not be beyond the
> actual error location, but MAY be before it if the server has no
> detailed information", or something along those lines.

Except that offset 0 IS a valid location, and there is no unsigned
number before 0 if the read error occurs while reading the head of the file.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

      reply	other threads:[~2016-03-29 22:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-29 20:39 [Qemu-devel] [PATCH] Strawman proposal for NBD structured replies Alex Bligh
2016-03-29 20:57 ` [Qemu-devel] [Nbd] " Wouter Verhelst
2016-03-29 21:59   ` Alex Bligh
2016-03-29 22:31     ` Wouter Verhelst
2016-03-29 22:58       ` Eric Blake [this message]

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=56FB0892.2020703@redhat.com \
    --to=eblake@redhat.com \
    --cc=alex@alex.org.uk \
    --cc=nbd-general@lists.sourceforge.net \
    --cc=qemu-devel@nongnu.org \
    --cc=w@uter.be \
    /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.