[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d00dacbd2a1b57dfdecd184303ab2bee47f3d7f9.camel@gmail.com>
Date: Mon, 15 Feb 2021 18:10:39 +0100
From: Bean Huo <huobean@...il.com>
To: Adrian Hunter <adrian.hunter@...el.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
Alim Akhtar <alim.akhtar@...sung.com>,
Avri Altman <avri.altman@....com>,
Can Guo <cang@...eaurora.org>,
Stanley Chu <stanley.chu@...iatek.com>
Subject: Re: [PATCH V2 4/4] scsi: ufs-debugfs: Add user-defined exception
event rate limiting
On Tue, 2021-02-09 at 08:24 +0200, Adrian Hunter wrote:
> An enabled user-specified exception event that does not clear quickly
> will
> repeatedly cause the handler to run. That could unduly disturb the
> driver
> behaviour being tested or debugged. To prevent that add debugfs file
> exception_event_rate_limit_ms. When a exception event happens, it is
> disabled, and then after a period of time (default 20ms) the
> exception
> event is enabled again.
>
> Note that if the driver also has that exception event enabled, it
> will not
> be disabled.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@...el.com>
Acked-by: Bean Huo <beanhuo@...ron.com>
Powered by blists - more mailing lists