]> granicus.if.org Git - zfs/commit
Rate limit debugging stack traces
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 16 Jul 2014 21:00:57 +0000 (14:00 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 22 Jul 2014 16:47:24 +0000 (09:47 -0700)
commit377e12f14a2c3694c3a733782b91ae7beecc44f3
tree0a727ab7595c6a819320325656bdb52319a6bbb9
parentf6a869614e5bdf9a3819a845f7a90d8c9ede0fc3
Rate limit debugging stack traces

There have been issues in the past where excessive debug logging
to the console has resulted in significant performance impacts.
In the vast majority of these cases only a few stack traces are
required to diagnose the issue.  Therefore, stack traces dumped to
the console will now we limited to 5 every 60s.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Prakash Surya <surya1@llnl.gov>
Closes #374
module/spl/spl-debug.c
module/spl/spl-kmem.c