[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH 1/3] hw/block: Introduce rotational
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH 1/3] hw/block: Introduce rotational qdev property |
Date: |
Sat, 6 May 2017 12:11:58 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 |
On 05/06/2017 07:43 AM, Aurelien Jarno wrote:
> The Linux kernel uses different I/O scheduler depending if the block
> device is a rotational device or not. Also it uses rotational devices
> to add entropy to the random pool.
>
> This patch add a rotational qdev property so that the block device can
> be configured as a rotational device or a non-rotational device. Default
> to true to not change the default behavior.
>
> Signed-off-by: Aurelien Jarno <address@hidden>
> ---
> blockdev.c | 4 ++++
> include/hw/block/block.h | 4 +++-
> 2 files changed, 7 insertions(+), 1 deletion(-)
Please remember to send a 0/3 cover letter when sending a series (you
can use 'git config format.coverletter auto' to make it easier).
The NBD server has the ability to expose to a client whether a given
exported volume is rotational or not; so there may be some additional
integration you should perform to make nbd-server properly export this
new property.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-block] [PATCH 1/3] hw/block: Introduce rotational qdev property, Aurelien Jarno, 2017/05/06
- [Qemu-block] [PATCH 2/3] scsi-disk: export rotational qdev property, Aurelien Jarno, 2017/05/06
- [Qemu-block] [PATCH 3/3] ide: export rotational qdev property, Aurelien Jarno, 2017/05/06
- Re: [Qemu-block] [Qemu-devel] [PATCH 1/3] hw/block: Introduce rotational qdev property, Philippe Mathieu-Daudé, 2017/05/06
- Re: [Qemu-block] [Qemu-devel] [PATCH 1/3] hw/block: Introduce rotational qdev property,
Eric Blake <=
- Re: [Qemu-block] [Qemu-devel] [PATCH 1/3] hw/block: Introduce rotational qdev property, Stefan Hajnoczi, 2017/05/08
- Re: [Qemu-block] [PATCH 1/3] hw/block: Introduce rotational qdev property, Kevin Wolf, 2017/05/09