Fixes #4241: Move r30644 to v1.7 branch (OPENIB: Fixed error from writing)

---svn-pre-commit-ignore-below---

r30644 [[BR]]
OPENIB: Fixed error from writing to an uninitialized pipe. 
The error was caused by leaving the pipe to the async thread uninitialized, then writing to it regardless of this. 
Fix is to check the existance of the async thread and the pipe to it.

reviewd by miked

cmr=v1.7.5:reviewer=ompi-rm1.7
Fixes #4005: Move r29993 to v1.7 branch (romio: pick "infinitely stale" fix)

---svn-pre-commit-ignore-below---

r29993 [[BR]]
romio: pick "infinitely stale" fix from upstream

Some NFS scenarios can result in an infinite ESTALE return, which will
hang ROMIO.  This commit causes ROMIO to error out after a large number
of retries instead of spinning forever.

This is MPICH commit b250d338:

http://git.mpich.org/mpich.git/commit/b250d338e66667a8a1071a5f73a4151fd59f83b2

cmr=v1.7.5:reviewer=jsquyres