On 10/8/24 16:55, Matias Bjørling wrote:
From: Matias Bjørling <matias.bjorling@xxxxxxx> 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@xxxxxxx> --- drivers/nvme/host/core.c | 5 +++++ include/linux/nvme.h | 1 + 2 files changed, 6 insertions(+)
Reviewed-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@xxxxxxx +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