Skip to content
Snippets Groups Projects
Commit bdfc230f authored by Nikitas Angelinas's avatar Nikitas Angelinas Committed by Theodore Ts'o
Browse files

ext4: MMP: fix error message rate-limiting logic in kmmpd


Current logic would print an error message only once, and then
'failed_writes' would stay at 1.  Rework the loop to increment
'failed_writes' and print the error message every
s_mmp_update_interval * 60 seconds, as intended according to the
comment.

Signed-off-by: default avatarNikitas Angelinas <nikitas_angelinas@xyratex.com>
Signed-off-by: default avatarAndrew Perepechko <andrew_perepechko@xyratex.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Acked-by: default avatarAndreas Dilger <adilger@dilger.ca>
parent 215fc6af
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment