commit | 6a079b020a3e57aec95766cd8b97f15962af4674 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu Apr 04 06:18:25 2013 -0400 |
committer | Chris Mason <clm@fb.com> | Wed Sep 24 12:02:08 2014 -0700 |
tree | c9a4a4d22a0df2272d63fcb1fbce765fe0d7472f | |
parent | 7c883a9412d9dad32c23084c86272602bb7ffd5c [diff] |
iowatcher: Skip events beyond max_seconds Skip events beyond max_seconds. This not only saves CPU time but also prevents memory corruption because not all functions were checking that given time is in the expected range. Also remove now unnecessary checks in the called functions. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>