NFSv4: Rate limit the state manager for lock reclaim warning messages
authorWilliam Dauchy <wdauchy@gmail.com>
Wed, 14 Mar 2012 11:32:04 +0000 (12:32 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 25 Jul 2012 03:11:00 +0000 (04:11 +0100)
commit3116aea632aa83185953d9ca52d216dd524cb845
tree0b26cfc8be87b1727fcd45aecab0d90568ca63b4
parent1c095fd3e95b6edf46016ac77ad78a61522ce8ed
NFSv4: Rate limit the state manager for lock reclaim warning messages

commit 96dcadc2fdd111dca90d559f189a30c65394451a upstream.

Adding rate limit on `Lock reclaim failed` messages since it could fill
up system logs
Signed-off-by: William Dauchy <wdauchy@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
[bwh: Backported to 3.2: add the 'NFS:' prefix at the same time]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/nfs/nfs4state.c