[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interesting qemu/virt-manager bug about the "rotational" attribute o
From: |
Dongli Zhang |
Subject: |
Re: Interesting qemu/virt-manager bug about the "rotational" attribute on virtio-blk disks |
Date: |
Thu, 16 Jul 2020 17:07:55 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
According to below commit, the virtio-blk used to be non-rot but it
(QUEUE_FLAG_NONROT/QUEUE_FLAG_VIRT) was removed due to some reason.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f8b12e513b953aebf30f8ff7d2de9be7e024dbbe
Dongli Zhang
On 7/16/20 1:06 AM, Richard W.M. Jones wrote:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1857515
>
> A virtio-blk disk which is backed by a raw file on an SSD,
> inside the guest shows rotational = 1.
>
> I assumed that qemu must have a "rotational" property for disks and
> this would be communicated by virtio to the guest, but qemu and virtio
> don't seem to have this. Pretty surprising! Is it called something
> other than "rotational"?
>
> Rich.
>