From: Alexander Aring Date: Mon, 15 Aug 2022 15:51:45 -0400 Subject: [Cluster-devel] [PATCH dlm-tool 1/4] python: use force=2 as default Message-ID: <20220815195148.2209805-1-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To avoid -EBUSY cases we should use 2 as default for force when releasing the lockspace. --- python/bindings/dlm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/bindings/dlm.py b/python/bindings/dlm.py index b77d374c..b592a3e4 100644 --- a/python/bindings/dlm.py +++ b/python/bindings/dlm.py @@ -129,7 +129,7 @@ class Lockspace: if not self.__ls: raise DLMError(-errno.ENOMEM) - def release(self, force=0): + def release(self, force=2): if not self.__ls: return -- 2.31.1