[PATCH 2/2] nvme: add rotational support
Hannes Reinecke
hare at suse.de
Tue Oct 8 23:17:04 PDT 2024
On 10/8/24 16:55, Matias Bjørling wrote:
> From: Matias Bjørling <matias.bjorling at wdc.com>
>
> Rotational devices, such as hard-drives, can be detected using
> the rotational bit in the namespace independent identify namespace
> data structure. Make the bit visible to the block layer through the
> rotational queue setting.
>
> Note that rotational devices typically can be used to generate random
> entropy, the device is therefore also added as a block device that adds
> entropy.
>
> Signed-off-by: Matias Bjørling <matias.bjorling at wdc.com>
> ---
> drivers/nvme/host/core.c | 5 +++++
> include/linux/nvme.h | 1 +
> 2 files changed, 6 insertions(+)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
More information about the Linux-nvme
mailing list