raid5 improve too many read errors msg by adding limits
authorNigel Croxon <ncroxon@redhat.com>
Wed, 21 Aug 2019 13:27:08 +0000 (09:27 -0400)
committerSong Liu <songliubraving@fb.com>
Tue, 27 Aug 2019 19:36:37 +0000 (12:36 -0700)
commit0009fad033370802de75e4cedab54f4d86450e22
tree240fe4ea5f6a2372b511c7aa934bdd13306131fd
parent9d4b45d6af442237560d0bb5502a012baa5234b7
raid5 improve too many read errors msg by adding limits

Often limits can be changed by admin. When discussing such things
it helps if you can provide "self-sustained" facts. Also
sometimes the admin thinks he changed a limit, but it did not
take effect for some reason or he changed the wrong thing.

V3: Only pr_warn when Faulty is 0.
V2: Add read_errors value to pr_warn.

Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid5.c