From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Mark Syms <mark.syms@cloud.com>
Cc: Anthony PERARD <anthony.perard@vates.tech>,
xen-devel@lists.xenproject.org, Paul Durrant <paul@xen.org>,
Owen Smith <owen.smith@cloud.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Juergen Gross <jgross@suse.com>
Subject: Re: Block protocol incompatibilities with 4K logical sector size disks
Date: Mon, 2 Sep 2024 17:26:46 +0200 [thread overview]
Message-ID: <ZtXZNs2iYT5R-KjE@macbook.local> (raw)
In-Reply-To: <CAPYKksUiSqakVWFbA68VowxHyt5LR3KXBuOqYQ0zbODz98a5rA@mail.gmail.com>
On Mon, Sep 02, 2024 at 03:50:17PM +0100, Mark Syms wrote:
> On Mon, 2 Sept 2024 at 09:55, Roger Pau Monné <roger.pau@citrix.com> wrote:
> >
> > > So yes, after more research, having sector in the protocol been a
> > > 512-byte size seems the least bad option. "sector_number" and
> > > "{first,last}_sect" have been described as is for a long while. Only
> > > "sectors" for the size has been described as a "sector-size" quantity.
> >
> > Thanks for your input. I would also like to hear from the blktap and
> > Windows PV drivers maintainers, as the change that I'm proposing here
> > will require changes to their implementations.
>
> Well, that's a whole big mess isn't it ;( FWIW, it's tacitly assumed
> that tapdisk is only running on 512 or 512e storage as its primary use
> case is VHD and that driver explodes spectacularly on 4KN. So,
> hardening those implicit conditions into hard explicit ones seems like
> an entirely reasonable thing.
OK, so I take you are fine with the adjustments to the protocol being
suggested here, and will be happy to adjust blktap if/when required to
meet them (if it ever supports exposing 4K sector sized disks).
Thanks for the feedback, will Cc you on the patch to blkif.h for one
extra review if possible.
Roger.
prev parent reply other threads:[~2024-09-02 15:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 10:59 Block protocol incompatibilities with 4K logical sector size disks Roger Pau Monné
2024-08-29 13:15 ` Anthony PERARD
2024-08-29 15:42 ` Roger Pau Monné
2024-08-30 16:09 ` Anthony PERARD
2024-09-02 8:55 ` Roger Pau Monné
2024-09-02 14:19 ` Paul Durrant
2024-09-02 15:23 ` Roger Pau Monné
2024-09-02 15:25 ` Paul Durrant
2024-09-02 15:50 ` Anthony PERARD
2024-09-02 16:08 ` Roger Pau Monné
2024-09-02 14:50 ` Mark Syms
2024-09-02 15:26 ` Roger Pau Monné [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=ZtXZNs2iYT5R-KjE@macbook.local \
--to=roger.pau@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=jgross@suse.com \
--cc=mark.syms@cloud.com \
--cc=owen.smith@cloud.com \
--cc=paul@xen.org \
--cc=sstabellini@kernel.org \
--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.