New branch 'hosts2' available with the following commits:
commit 0ad0919ee5beb03f7213dfd57a07aeb16d0b5656
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 50a3a82ba64aa2905e174302d1623e076314d724
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 db77ec21551c7857f4001412478a2fbde3147f20
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 8f86449ef00e9b4b533b7f59f8bce12e11049079
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 d3d0c1519b21fe95e7e9a0eff6fe1419e8f8a2c2
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 90481ecfde3e7cec35b34d2431820d77a182d16b
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