diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2019-03-06 16:29:34 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-03-06 17:03:00 +0300 |
commit | 225557446856448039a9e495da37b72c20071ef2 (patch) | |
tree | 92971d171a864881d062b6af4dccb07c2d9d6475 /drivers/md/dm.h | |
parent | c439ca69d5c8306a14ee2f3f39e9c833b4cda3e7 (diff) | |
download | linux-225557446856448039a9e495da37b72c20071ef2.tar.xz |
dm integrity: limit the rate of error messages
When using dm-integrity underneath md-raid, some tests with raid
auto-correction trigger large amounts of integrity failures - and all
these failures print an error message. These messages can bring the
system to a halt if the system is using serial console.
Fix this by limiting the rate of error messages - it improves the speed
of raid recovery and avoids the hang.
Fixes: 7eada909bfd7a ("dm: add integrity target")
Cc: stable@vger.kernel.org # v4.12+
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
0 files changed, 0 insertions, 0 deletions