Whamcloud - gitweb
LU-3456 ptlrpc: quiet errors on initial connection 57/10057/4
authorAndreas Dilger <andreas.dilger@intel.com>
Tue, 22 Apr 2014 19:54:46 +0000 (13:54 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 4 Dec 2014 02:30:24 +0000 (02:30 +0000)
commitd1cf226d04884a102e17a7d4109764c24572983f
tree91fa637bc15aa6773ac148416b0a83ea9f10c144
parent1249edcd71e6a44f92aba1482201b30696e85d0d
LU-3456 ptlrpc: quiet errors on initial connection

It may be that a client or MDS is trying to connect to a target (OST
or peer MDT) before that target is finished setup.  Rather than
spamming the console logs during initial connection, only print a
console error message if there are repeated failures trying to
connect to the target, which may indicate an error on that node.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I98ec7b4c2109b700b53297038d3fede4773ebbe5
Reviewed-on: http://review.whamcloud.com/10057
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/client.c
lustre/ptlrpc/ptlrpc_internal.h