From: "Richard W.M. Jones" <rjones@redhat.com>
To: Zdenek Kabelac <zkabelac@redhat.com>
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] "Data alignment must not exceed device size."
Date: Tue, 10 Apr 2018 16:05:59 +0100 [thread overview]
Message-ID: <20180410150559.GF2787@redhat.com> (raw)
In-Reply-To: <54d81d24-576e-17d4-8092-aa3d99eb69ff@redhat.com>
This turns out to be a bug in qemu 2.12-rc1.
It is fixed by this commit already upstream:
commit 37c51741892a89cf5710f5ac231091fb0a6352c7
Author: Fam Zheng <famz@redhat.com>
Date: Wed Mar 28 00:41:41 2018 +0800
scsi-disk: Don't enlarge min_io_size to max_io_size
Some backends report big max_io_sectors. Making min_io_size the same
value in this case will make it impossible for guest to align memory,
therefore the disk may not be usable at all.
Do not enlarge them when they are zero.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
prev parent reply other threads:[~2018-04-10 15:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-10 8:47 [linux-lvm] "Data alignment must not exceed device size." Richard W.M. Jones
2018-04-10 14:00 ` Richard W.M. Jones
2018-04-10 14:43 ` Zdenek Kabelac
2018-04-10 14:49 ` Richard W.M. Jones
2018-04-10 15:04 ` Zdenek Kabelac
2018-04-10 15:34 ` Mike Snitzer
2018-04-10 15:01 ` Zdenek Kabelac
2018-04-10 15:05 ` Richard W.M. Jones [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=20180410150559.GF2787@redhat.com \
--to=rjones@redhat.com \
--cc=linux-lvm@redhat.com \
--cc=zkabelac@redhat.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).