Whamcloud - gitweb
LU-4799 llite: Do not rate limit dirty page discard warning 52/9752/2
authorRyan Haasken <haasken@cray.com>
Fri, 21 Mar 2014 17:02:07 +0000 (12:02 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 4 Apr 2014 03:28:57 +0000 (03:28 +0000)
commitaacc286fe0575d455794121264a612c29ffb7740
treec1160a2b36818af0c85f36ca5899145634393bf4
parenta11c69ad81ca8071b9d97d5032539dd7b36873ee
LU-4799 llite: Do not rate limit dirty page discard warning

Messages which are printed by ll_dirty_page_discard_warn() should not
be rate limited.  If they are rate limited, some files which may be
corrupted on client eviction will not be reported to the user.

This patch changes the CWARN to a CDEBUG to disable console message
rate limiting for this message.  The dirty page discard warnings are
already limited on a per-file basis by the function vvp_vmpage_error
which calls ll_dirty_page_discard_warn only if the ccc_object's
cob_discard_page_warned == 0.

Signed-off-by: Ryan Haasken <haasken@cray.com>
Change-Id: Ia8a13c7add89c890014170254e462ae861de0fc5
Reviewed-on: http://review.whamcloud.com/9752
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Cory Spitz <spitzcor@cray.com>
Reviewed-by: Ann Koehler <amk@cray.com>
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/llite_lib.c