[pve-devel] [PATCH pve-manager] Add "SSD" property to IDE, SATA, and SCSI hard drives

Dmitry Petuhov mityapetuhov at gmail.com
Thu Nov 8 09:58:06 CET 2018


IIRC, BTRFS can use /sys/block/DEV/queue/rotational to enable 
SSD-optimized allocator at mount time and mkfs.btrfs uses it to select 
metadata allocation scheme.


08.11.2018 9:07, Alexandre DERUMIER пишет:
>>> That's not the case—it's not enabled by default on any controller (my
>>> previous e-mail shows this for a guest with VirtIO SCSI), and virtio-blk
>>> doesn't even support the feature.
> ok, didn't known, thanks.
>
> So you have if it can improve ios in guest ?  Maybe some ioscheduler use this value ?
> ----- Mail original -----
> De: "Nick Chevsky" <nchevsky at gmail.com>
> À: "pve-devel" <pve-devel at pve.proxmox.com>
> Cc: "Thomas Lamprecht" <t.lamprecht at proxmox.com>
> Envoyé: Mercredi 7 Novembre 2018 18:59:57
> Objet: Re: [pve-devel] [PATCH pve-manager] Add "SSD" property to IDE, SATA, and SCSI hard drives
>
> On Wed, Nov 7, 2018 at 12:36 PM Alexandre DERUMIER <aderumier at odiso.com>
> wrote:
>
>> if rotational is already always enabled by default on virtio-scsi &&
>> virtio-blk,
>> why not enabled it by default for ide,sata,.... on next qemu version ?
>> (without any additional option).
>>
> That's not the case—it's not enabled by default on any controller (my
> previous e-mail shows this for a guest with VirtIO SCSI), and virtio-blk
> doesn't even support the feature.
>
> While emulating drives as solid-state could very well be a good *default*
> in the future, it should probably remain a setting because we don't want to
> change (and potentially break) people's existing guests.
>
> Nick
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel



More information about the pve-devel mailing list