summaryrefslogtreecommitdiff
path: root/include/linux/sbitmap.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2021-02-09 09:24:37 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-03-05 01:36:59 +0300
commit7deedfdaeccfec5a9c41dbb83f1725cf11e3ff39 (patch)
tree8948e22e538daf5d88ed9aca128ff765eee1b5af /include/linux/sbitmap.h
parentcd4694756188dcca0f631e60da26053be1ffdc91 (diff)
downloadlinux-7deedfdaeccfec5a9c41dbb83f1725cf11e3ff39.tar.xz
scsi: ufs: ufs-debugfs: Add user-defined exception event rate limiting
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. Link: https://lore.kernel.org/r/20210209062437.6954-5-adrian.hunter@intel.com Acked-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/sbitmap.h')
0 files changed, 0 insertions, 0 deletions