nfsiostat: Document the output columns in the manpage

Signed-off-by: Steve Dickson <steved@redhat.com>
statd: fixed the --with-statdpath= flag

Create the given path set with --with-statdpath

Signed-off-by: chendt.fnst@cn.fujitsu.com
Reported-by: yaoxp@cn.fujitsu.com
Signed-off-by: Steve Dickson <steved@redhat.com>
mountd: add support for case-insensitive file names

Case insensitive filesystems support textually distinct names for the
same directory. i.e. you can access it with a name other than the
canonical name.
For example if you
  mkdir /mnt/export

then add /mnt/EXPORT to /etc/exports, and on a client
  mount server:/mnt/EXPORT /import

then the mount will work, but if the kernel on the server needs to
refresh the export information, it will ask about "/mnt/export", which
is not listed in /etc/exports and so will fail.

To fix this we need mountd to perform case-insensitive name
comparisons, but only when the filesystem would, and in exactly the
same way that the filesystem would.

So, when comparing paths for equality first try some simple heuristics
which will not be fooled by case and then ask the kernel if they are
the same.

By preference we use name_to_handle_at() as it reports the mntid which
can distinguish between bind mounts.  If that is not available, use
lstat() and compare rdev and ino.

Acked-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
mountd.man: Added missing arguments in man page

Signed-off-by: Steve Dickson <steved@redhat.com>
gssd: Error out when rpc_pipefs directory is empty

When there is no kernel modules loaded the rpc_pipefs
directory is empty, which cause rpc.gssd to silently
exit.

This patch adds a check to see if the topdirs_list
is empty. If so error out without dropping a core.

Signed-off-by: Steve Dickson <steved@redhat.com>
gssd: Fixed errno typo in get_servername()

Signed-off-by: Steve Dickson <steved@redhat.com>
gssd: configurable connection timeout for the rpcgssd service

When using rpc.gssd to secure NFSv3 FS using krb5,  the following errors
can happen as a result of network congestion.

"rpc.gssd WARNING: can't create tcp rpc_clnt to server ... : RPC: Remote
system error - Connection timed out"

we had a successful reproducer of the problem which we tested using this
patch by starting rpc.gssd with "-T 60" as the option which solved the
problem. reproducer steps were to throttle the network using tc command
and then in a never ending loop mount the share, then write some data in
the file on the share and unmount it. keep a delay of 5 sec between the
iteration of each loop.

CC: Christian Horn <chorn@redhat.com>
Signed-off-by: Rinku Kothiya <rkothiya@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Fix Python 3 compatibility of mountstats and nfs-iostat

Signed-off-by: Steve Dickson <steved@redhat.com>