Re: [Qemu-devel] [PATCH v1 1/2] scsi-disk: support reporting of rotation rate

2017-10-04 Thread Daniel P. Berrange
On Wed, Oct 04, 2017 at 05:49:44PM +0100, Dr. David Alan Gilbert wrote: > * Daniel P. Berrange (berra...@redhat.com) wrote: > > The Linux kernel will query the SCSI "Block device characteristics" > > VPD to determine the rotations per minute of the disk. If this has > > the value 1, it is taken to

Re: [Qemu-devel] [PATCH v1 1/2] scsi-disk: support reporting of rotation rate

2017-10-04 Thread Dr. David Alan Gilbert
* Daniel P. Berrange (berra...@redhat.com) wrote: > The Linux kernel will query the SCSI "Block device characteristics" > VPD to determine the rotations per minute of the disk. If this has > the value 1, it is taken to be an SSD and so Linux sets the > 'rotational' flag to 0 for the I/O queue and w

Re: [Qemu-devel] [PATCH v1 1/2] scsi-disk: support reporting of rotation rate

2017-10-04 Thread Eric Blake
On 10/04/2017 06:40 AM, Daniel P. Berrange wrote: > The Linux kernel will query the SCSI "Block device characteristics" > VPD to determine the rotations per minute of the disk. If this has > the value 1, it is taken to be an SSD and so Linux sets the > 'rotational' flag to 0 for the I/O queue and w

[Qemu-devel] [PATCH v1 1/2] scsi-disk: support reporting of rotation rate

2017-10-04 Thread Daniel P. Berrange
The Linux kernel will query the SCSI "Block device characteristics" VPD to determine the rotations per minute of the disk. If this has the value 1, it is taken to be an SSD and so Linux sets the 'rotational' flag to 0 for the I/O queue and will stop using that disk as a source of random entropy. Ot