support multihome nlm clients.

Ported from 1.5: cff8788d3549ff2a4d2566089abedef845d3449c

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
Use svc_reg instead of svc_register to register services.
svc_register does not handle IPv6, and portmapper never receives
registration calls for IPv6 services(mount,nlm,nfs) which are
required for v3. For v3 mount rpcbind fails to provide details in
response to the GETADDR call for mount:v6.

svc_reg handles the registration with rpcbind correctly.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Generate a core dump if a hang is detected.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>

Ported from 1.5: 447d5b7b0a21b3776064b9be2ac35ac5a8dc772e

Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Clean the progress status  dir bfore starting ganesha.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>

Ported from 1.5: 7d27d85447ee2a2ddca78d407d11f7c4ac4fa59f

Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Call CTDB's smnotify when starting Ganesha.
So V3 Clients will reclaim their locks when Ganesha restarts.
This will help in the cases when the system's sm-notify fails

Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>

Ported from 1.5: c4de5ba548db6c3278f977e0d6d03bd2c6e44c15

Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>