New branch 'hosts' available with the following commits:
commit f7cef65c2599243fa4285fad9eb42ab9a26cdb91
Author: David Teigland <teigland(a)redhat.com>
Date: Tue Jun 11 12:22:19 2013 -0500
sanlock: improve check of max_hosts and num_hosts
Signed-off-by: David Teigland <teigland(a)redhat.com>
commit 916d952ca75dfaf6f50535cbc0908af795febd1b
Author: David Teigland <teigland(a)redhat.com>
Date: Tue Jun 4 12:27:55 2013 -0500
sanlock: add test_resource_owners
to test if a resource can be acquired.
It correlates the results of sanlock_get_hosts
and sanlock_read_resource_owners.
Signed-off-by: David Teigland <teigland(a)redhat.com>
commit 73effa514f9e3f700bdc378eaae1f0bab3fe1ded
Author: David Teigland <teigland(a)redhat.com>
Date: Mon Jun 3 12:03:35 2013 -0500
sanlock: add flag SANLK_REQUEST_NEXT_LVER
To cause sanlock_request() to automatically request
the next lver so the caller does not need to specify
the next lver, which requires reading the current one.
This flag would produce unexpected/unwanted results
if used by multiple hosts targetting the same owner.
Signed-off-by: David Teigland <teigland(a)redhat.com>
commit 142e4f324457d711aae3fcf79e953cb122b93010
Author: David Teigland <teigland(a)redhat.com>
Date: Thu May 30 17:31:31 2013 -0500
sanlock: add read_resource_owners
New api to read the resource owners from disk.
Signed-off-by: David Teigland <teigland(a)redhat.com>
commit bbdb0824b799b15d2149a5af23413a28957b4ba1
Author: David Teigland <teigland(a)redhat.com>
Date: Wed May 22 14:55:07 2013 -0500
sanlock: remove direct read_id and live_id
These have not been used and better alternatives now exist.
Signed-off-by: David Teigland <teigland(a)redhat.com>
commit 90e97db3e0195e3add44a1f478d4e5435a4f91fb
Author: David Teigland <teigland(a)redhat.com>
Date: Wed May 8 16:28:41 2013 -0500
sanlock: add get_hosts api
Returns info about hosts in a lockspace.
Use this to display host status from the
command line: sanlock client gets -h 1
Signed-off-by: David Teigland <teigland(a)redhat.com>
Show replies by date