[PATCH] ctdb-scripts: Initialise CTDB_NFS_CALLOUT in statd-callout

Martin Schwenke martin at meltin.net
Thu Feb 16 03:44:25 UTC 2017


Some configurations may set CTDB_NFS_CALLOUT to the empty string.
They may do this if they allow a choice of NFS implementations.  In
this case the default call-out for Linux kernel NFS should be used.
However, statd-callout does not call nfs_callout_init() to set the
default.  Therefore, statd-callout is unable to restart the lock
manager, so the grace period is never entered.

statd-callout must call nfs_callout_init() before trying to restart
the lock manager.

Please review and maybe push...
peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-scripts-Initialise-CTDB_NFS_CALLOUT-in-statd-ca.patch
Type: text/x-patch
Size: 1328 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170216/32fc356b/0001-ctdb-scripts-Initialise-CTDB_NFS_CALLOUT-in-statd-ca.bin>


More information about the samba-technical mailing list