From: Paolo Bonzini <pbonzini@redhat.com>
To: "Richard W.M. Jones" <rjones@redhat.com>,
Mykola Ivanets <stenavin@gmail.com>,
qemu-devel@nongnu.org, qemu-block@nongnu.org
Cc: libguestfs@redhat.com
Subject: Re: [Libguestfs] [RFC] lib: allow to specify physical/logical block size for disks
Date: Mon, 10 Feb 2020 20:10:27 +0100 [thread overview]
Message-ID: <af985d09-814c-da79-a245-8425f721dd8b@redhat.com> (raw)
In-Reply-To: <20200210114316.GW3888@redhat.com>
On 10/02/20 12:43, Richard W.M. Jones wrote:
> So it appears that we should just have one blocksize control (maybe
> called "sectorsize"?) which sets both physical_block_size and
> logical_block_size to the same value. It may also be worth enforcing
> that blocksize/sectorsize must be set to 512 or 4096 (which we can
> relax later if necessary).
Yes, physical_sector_size is basically a hint to the OS and is of rather
limited usefulness.
Paolo
prev parent reply other threads:[~2020-02-10 19:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200207232528.13461-1-stenavin@gmail.com>
2020-02-10 11:43 ` [Libguestfs] [RFC] lib: allow to specify physical/logical block size for disks Richard W.M. Jones
2020-02-10 12:28 ` Nikolay Ivanets
2020-02-10 13:02 ` Richard W.M. Jones
2020-02-10 13:52 ` Nikolay Ivanets
2020-02-10 13:48 ` Kevin Wolf
2020-02-10 14:15 ` Nikolay Ivanets
2020-02-10 14:41 ` Richard W.M. Jones
2020-02-10 19:10 ` Paolo Bonzini [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=af985d09-814c-da79-a245-8425f721dd8b@redhat.com \
--to=pbonzini@redhat.com \
--cc=libguestfs@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=rjones@redhat.com \
--cc=stenavin@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).