2008-07-21 02:56:07

by NeilBrown

[permalink] [raw]
Subject: Re: [PATCH] mount: enable retry for nfs23 to set the correct protocol for mount.

On Monday July 21, [email protected] wrote:
>
> How about this?

BTW, this and two other patches are in my git.

The first is the sm-notify fix, as modified, and with another fix
since Steve's last post. There was a "return" which should have been
inside and 'if' but was outside it.

The second causes portmap lookup to use connected UDP ports.

The third is the one I just posted.

BTW Steve, it is a small thing, but when you apply patches to git you
often seem to lose the subject line. This causes the first line of
the description to be using as the one line summary, which sometimes
looks rather strange.

Thanks,
NeilBrown

The following changes since commit ba8dd9533e647b70d6e46beed3dcd8d8036b02af:
Neil Brown (1):
If portmap is not listening on UDP (as apparently happens with

are available in the git repository at:

git://neil.brown.name/nfs-utils/ for-steved

Neil Brown (3):
sm-notify: perform DNS lookup in the background.
Use connected socket when probing portmap with UDP.
Check nfs options (vers/protocol) before trying mount.

utils/mount/network.c | 41 +++++++++++++++++++++++++----------------
utils/mount/network.h | 2 +-
utils/mount/nfsmount.c | 2 +-
utils/mount/stropts.c | 18 +++++++-----------
utils/statd/sm-notify.c | 39 +++++++++++++++++++++++++--------------
5 files changed, 59 insertions(+), 43 deletions(-)