]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite4bd98bf8f4da99b570ff77275ac308c1c4119b4
tree240fe4ea5f6a2372b511c7aa934bdd13306131fd
parent280728c30818a2373864dc21c317e04372124189
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