LLNL-xxx Make asymmetric router failure parameters tunable

Originally filed as bugzilla b=21103

Change-Id: Ie36f79d01c35d4c11c4532187abdeb9473ea60b4
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
LLNL-xxx Enable asymmetric router failure detection by default

Change-Id: I17be5f605e76c256fff4eebabe3a2781ecad8074
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
LLNL-xxx Don't close connection for timedout ZC_REQ

Originally filed as b=23352

Change-Id: Id863c6d9e5180b3dcc8612f6be3e0da9f419c193
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
LLNL-xxx Increase lnet hash table by 4X.

With the number of peers we see in production, we really
think this should be larger.

Change-Id: Ia6f43caed4f3c89316fe768c2347cdccc163e7ce
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
LLNL-xxx Make IB privileged ports required by default.

Change-Id: I4564d0507c0d7cce90f957ccfc26dd36ab189ff3
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
LLNL-xxx Increase the lnet chkconfig shutdown number

Increase the lnet shutdown script number so it will run after the
netfs on RHEL6.  Mount lustre with the _netdev option so that netfs
will handle unmounting it before lnet stops.

Change-Id: I4093c0082b6af2210b6f16e4cd8daffd87c9382b
LLNL-bug-id: bz1396
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
LU-1282 lprocfs: disable interrupts in lprocfs_stats_lock()

Deadlock will occur if we try to take stats->ls_lock under an
interrupt while already holding the lock.  Use the irqsave version
of the spinlock to avoid this.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Change-Id: I9f978f93ff0da446b1632f25ac849143218e64a3
LU-1217 osc: to not check a cl_lock's state w/o protection

osc_page_putref_lock() used to check cl_lock's refcount and
corresponding osc_lock's ols_hold without any protection, this
is racy because other process can change the lock state so as to
make the assertion be false.

Signed-off-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Change-Id: I65fe1fa7fc55e8642fea6789784d7bb92a45d56f
LLNL-xxx Tune adaptive timeouts

Simul test 4 causes soft lockups on OSTs llnl bug 761.  Because of
this we need to increase at_min to 15 seconds to avoid this failure
when we are dealing with roughly 10,000 pending locks.  Once this
algorithm is improved we may be able to remove this.

We have also increase at_early_margin to 10 seconds because we do
see what looks like excessive network transit times and this gives
us a bit larger hedge against that.

See bugzilla 18066.

Change-Id: I3128edcf04d44c6e1d95793ae7e72ea872280089
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jim Garlick <garlick@llnl.gov>
LU-1095 debug: Log expired requests as D_NETERROR

While knowing about expired requests is important, it's also not
an uncommon event on a large system.  As long as the lower layers
can retry or take other corrective action there's no reason to
both an administrator with this.  They can always set D_NETERROR
is they suspect problems with the network.

Change-Id: I0bf06d5df82bbd9fe9e3f223ed6b67de2d5b69b5
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>