[PATCH v2] nvme: Print capabilities changes just once

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Jun 19 18:41:49 PDT 2023


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 at debian.org>
> ---

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list