[sanlock] branch master updated (8d326db -> 4f68755)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
teigland pushed a change to branch master
in repository sanlock.
from 8d326db sanlock: add config setting for logging resource names
new 7541630 sanlock: reuse resource structs
new 4f68755 sanlock: use log debug calls with ids
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/cmd.c | 28 ++++---
src/direct_lib.c | 4 +-
src/list.h | 11 +++
src/lockspace.c | 10 +--
src/log.c | 12 +--
src/log.h | 14 ++--
src/main.c | 7 +-
src/paxos_lease.c | 27 +++----
src/resource.c | 212 +++++++++++++++++++++++++++++++++++++------------
src/resource.h | 3 +-
src/sanlock_internal.h | 7 +-
11 files changed, 229 insertions(+), 106 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 11 months
[sanlock] branch master updated (de70992 -> 8d326db)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
teigland pushed a change to branch master
in repository sanlock.
from de70992 sanlock: add sanlock.conf info to man page
new 8d326db sanlock: add config setting for logging resource names
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/cmd.c | 3 ++-
src/main.c | 7 ++++++-
src/sanlock.8 | 11 +++++++++--
src/sanlock.conf | 9 ++++++---
src/sanlock_internal.h | 1 +
5 files changed, 24 insertions(+), 7 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 11 months
[sanlock] branch master updated (ae2909d -> de70992)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
teigland pushed a change to branch master
in repository sanlock.
from ae2909d sanlock: change example path in man page
new de70992 sanlock: add sanlock.conf info to man page
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/sanlock.8 | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 87 insertions(+)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 11 months
[sanlock] branch master updated (d5e4def -> ae2909d)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
teigland pushed a change to branch master
in repository sanlock.
from d5e4def sanlock: add flags to specify sector size
new ae2909d sanlock: change example path in man page
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/sanlock.8 | 31 ++++++++++++++-----------------
1 file changed, 14 insertions(+), 17 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 11 months
[sanlock] branch master updated (e1f3e40 -> d5e4def)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
teigland pushed a change to branch master
in repository sanlock.
from e1f3e40 python: add thread lock around register
new d5e4def sanlock: add flags to specify sector size
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/cmd.c | 52 ++++++++++++++++-
src/delta_lease.c | 101 +++++++++++++++++++++++----------
src/delta_lease.h | 9 ++-
src/direct.c | 148 ++++++++++++++++++++++++++++++++++++++++---------
src/diskio.c | 96 ++++++++++++++++++++++++--------
src/diskio.h | 6 +-
src/leader.h | 3 +
src/lockspace.c | 36 ++++++++----
src/lockspace.h | 2 +-
src/main.c | 47 ++++++++++++++--
src/paxos_dblock.h | 4 ++
src/paxos_lease.c | 111 +++++++++++++++++++++++++------------
src/resource.c | 91 ++++++++++++++++++++----------
src/sanlock.8 | 4 ++
src/sanlock.conf | 4 +-
src/sanlock.h | 19 +++++--
src/sanlock_admin.h | 36 ++++++++++--
src/sanlock_internal.h | 22 +++++++-
18 files changed, 618 insertions(+), 173 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 11 months
[sanlock] branch master updated (672dbb1 -> e1f3e40)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
teigland pushed a change to branch master
in repository sanlock.
from 672dbb1 release 3.6.0
new e1f3e40 python: add thread lock around register
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
python/sanlock.c | 5 +++++
1 file changed, 5 insertions(+)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 12 months
[PATCH] python: Release the GIL during sanlock_register
by Nir Soffer
From: Nir Soffer <nsoffer(a)redhat.com>
In the current implementation, sanlock_register shouldn't block, but we
should not take any chance, since blocking will hang all threads in the
caller process.
It is also easier to maintain when we decouple the implementation from
the python glue layer; we don't want to modify locking in the python
binding when we we modify the underlying library.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
python/sanlock.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/python/sanlock.c b/python/sanlock.c
index 0ef1174..3142b2a 100644
--- a/python/sanlock.c
+++ b/python/sanlock.c
@@ -54,6 +54,7 @@ __set_exception(int en, char *msg)
en = -en;
err_name = strerror(en);
} else {
+ /* Safe to call without releasing the GIL. */
err_name = sanlock_strerror(en);
}
@@ -213,7 +214,11 @@ py_register(PyObject *self __unused, PyObject *args)
{
int sanlockfd;
+ /* This sholdn't block, but we don't want to take any chance, as blocking
+ * hangs all threads in the caller process. */
+ Py_BEGIN_ALLOW_THREADS
sanlockfd = sanlock_register();
+ Py_END_ALLOW_THREADS
if (sanlockfd < 0) {
__set_exception(sanlockfd, "Sanlock registration failed");
--
2.9.5
6 years
[sanlock] branch testing3 deleted (was 76444b9)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
teigland pushed a change to branch testing3
in repository sanlock.
was 76444b9 sanlock: add a NOWAIT flag for convert
This change permanently discards the following revisions:
discards 76444b9 sanlock: add a NOWAIT flag for convert
discards 2cd866d sanlock: improve log messages in paxos code
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
6 years
[sanlock] branch testing2 deleted (was f30507b)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
teigland pushed a change to branch testing2
in repository sanlock.
was f30507b sanlock: improve paxos logging for debugging
This change permanently discards the following revisions:
discards f30507b sanlock: improve paxos logging for debugging
discards 516e5ea sanlock: use careful release on error paths
discards 11aa9d7 sanlock: fix release interference with paxos
discards 4523a63 sanlock: fix detection of shared lease
discards 63768d8 sanlock: preserve dblock values when setting shared flag
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
6 years
[sanlock] branch testing deleted (was 76332a0)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
teigland pushed a change to branch testing
in repository sanlock.
was 76332a0 sanlock: fix release interference with paxos
This change permanently discards the following revisions:
discards 76332a0 sanlock: fix release interference with paxos
discards c10f23b sanlock: fix detection of shared lease
discards abab5e6 sanlock: add all dblock vals to debug
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
6 years