ctdb-scripts: Add exportfs cache to NFS Linux kernel callout
authorMartin Schwenke <martin@meltin.net>
Tue, 1 Sep 2015 23:38:04 +0000 (09:38 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 4 Dec 2015 08:17:17 +0000 (09:17 +0100)
commitd7424f97c91618a2077cd6754151ec6a61ee8801
treebfea220ad113d47eaf4978d9ba72ad28d0b1f3fd
parentbd7c94d5ac27174a2bff03e3409127d042b7f26d
ctdb-scripts: Add exportfs cache to NFS Linux kernel callout

exportfs can hang when, for example, DNS is flakey.  Given that
exports don't change much, it makes sense to cache them.

Don't try to add error handling when exportfs fails but do print a
warning.  Proper error handling can be added separately.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/nfs-linux-kernel-callout
ctdb/tests/eventscripts/scripts/local.sh