]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
fault-inject: add ratelimit option
authorDmitry Monakhov <dmonakhov@openvz.org>
Sat, 13 Dec 2014 00:58:00 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Dec 2014 20:42:52 +0000 (12:42 -0800)
commit6adc4a22f20bbf3bbc754f1ec8c82be5dfb5c71a
treef307626cf0c83d3114470f8dd3a5aca6134445e3
parent89e3f90995b370fa46922eece62ea23f039a202d
fault-inject: add ratelimit option

Current debug levels are not optimal.  Especially if one want to provoke
big numbers of faults(broken device simulator) then any verbose level will
produce giant numbers of identical logging messages.  Let's add ratelimit
parameter for that purpose.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Acked-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/fault-inject.h
lib/fault-inject.c