[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7aba8d61-c68d-49ee-990e-e5c0381296ba@suse.de>
Date: Wed, 9 Oct 2024 08:17:04 +0200
From: Hannes Reinecke <hare@...e.de>
To: Matias Bjørling <m@...rling.me>, kbusch@...nel.org,
hch@....de, dlemoal@...nel.org, cassel@...nel.org,
linux-nvme@...ts.infradead.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Matias Bjørling <matias.bjorling@....com>
Subject: Re: [PATCH 2/2] nvme: add rotational support
On 10/8/24 16:55, Matias Bjørling wrote:
> From: Matias Bjørling <matias.bjorling@....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@....com>
> ---
> drivers/nvme/host/core.c | 5 +++++
> include/linux/nvme.h | 1 +
> 2 files changed, 6 insertions(+)
>
Reviewed-by: Hannes Reinecke <hare@...e.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@...e.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
Powered by blists - more mailing lists