Re: [PATCH v2] nvme: Print capabilities changes just once

From: Chaitanya Kulkarni
Date: Mon Jun 19 2023 - 21:41:59 EST


On 6/15/2023 2:49 AM, Breno Leitao wrote:
> This current dev_info() could be very verbose and being printed very
> frequently depending on some userspace application sending some specific
> commands.
>
> Just print this message once and skip it until the controller resets.
> Use a controller flag (NVME_CTRL_DIRTY_CAPABILITY) to track if the
> capability needs a reset.
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>
> ---

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck