]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-failover: Add ctdb_smnotify_helper
authorMartin Schwenke <mschwenke@ddn.com>
Wed, 10 May 2023 02:21:07 +0000 (12:21 +1000)
committerMartin Schwenke <martins@samba.org>
Thu, 29 Aug 2024 22:48:33 +0000 (22:48 +0000)
commitd89506449fc01debc4013de9afe7f5784019806f
tree68b8816ba766b7e9ab7d5d1d613bf6568985e7c5
parente2c8f718cad576bffad66569cd6e86d87f1d9712
ctdb-failover: Add ctdb_smnotify_helper

statd callout will shortly be updated to use NFS utils' sm-notify.
This tiny helper will be used to create on-disk state files used by
sm-notify.  These state files contain endian-specific fields, so
better to write a simple C implementation than to do crazy things in a
shell script (or call out to Python).

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/failover/smnotify_helper.c [new file with mode: 0644]
ctdb/wscript