aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-12-14 16:47:41 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 08:46:47 -0800
commit95d99d5fd234903edb6856d72a6d4eb74b0c05fb (patch)
tree642c0e0d73c403d7e1cf798cdc8c4018521e3b50 /lib/cpu-notifier-error-inject.c
parent508e063d109bdfd9e9b15aad6b86b7000d7f48eb (diff)
libceph: report connection fault with warning
(cherry picked from commit 28362986f8743124b3a0fda20a8ed3e80309cce1) When a connection's socket disconnects, or if there's a protocol error of some kind on the connection, a fault is signaled and the connection is reset (closed and reopened, basically). We currently get an error message on the log whenever this occurs. A ceph connection will attempt to reestablish a socket connection repeatedly if a fault occurs. This means that these error messages will get repeatedly added to the log, which is undesirable. Change the error message to be a warning, so they don't get logged by default. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions