From nobody Sun Feb 8 15:37:19 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1595937293; cv=none; d=zohomail.com; s=zohoarc; b=f/A1nH41yiDLMmSkGXflGrjw5VCsseIw6+9B3JbnM1pLp7Q3Sov4x45S/MC1WaKKzPN9tO5riTLOJCjW8rqXDOXClRxP+2kKtyEY6DoNqFknCd6TGVRlZHi3tJr8lYnfKaUa+/hUgKLcKWNrv3xQjc7dLhwX0ni+VmNrUp0uANA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595937293; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qkMsBTWKnVycDAEStKoPExFT5nO/xBdiWhoqqkyIBDI=; b=fKGGl24p/EB9dgLX30rn7gm/6i8VeDtNYd/TnMvbT3u0qH8BsW5L2TxX3OM1vfWbm6eNR1/ufApjr5QKUuEwX2dfwKWAUsFFkgsyw/BbbUVnz6qzAJSshESunJRklFUuV568eOH02iLvbWwHFuf0Ewkkct0cIBIyWqjvTkpZebo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1595937293937230.55439848356946; Tue, 28 Jul 2020 04:54:53 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-106-pg5B2R51NCGRL2j3z5wCIA-1; Tue, 28 Jul 2020 07:54:50 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A0332101C8A5; Tue, 28 Jul 2020 11:54:43 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 25F54709E4; Tue, 28 Jul 2020 11:54:43 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 1247A95499; Tue, 28 Jul 2020 11:54:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06SBsb0C022603 for ; Tue, 28 Jul 2020 07:54:37 -0400 Received: by smtp.corp.redhat.com (Postfix) id D744B726BA; Tue, 28 Jul 2020 11:54:37 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3331B73027 for ; Tue, 28 Jul 2020 11:54:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595937292; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=qkMsBTWKnVycDAEStKoPExFT5nO/xBdiWhoqqkyIBDI=; b=Nj9GbXSz8wjkm/fFE/yrjehn96Nt3mTu0gbuMfnMdAfYtO0ZIp//nOH5zE0h5D65zhvqPt CalHyIpoA+Ow7IFbgk0y3X8lCUaH0lfckTfEmDWmONJykDGBExYvSQU1mhRYElvGvKxIPD jM5uFmYEcg6VJnSX3oEPHmKTjusx43E= X-MC-Unique: pg5B2R51NCGRL2j3z5wCIA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/9] locking: sanlock: drop unused LOCKSPACE_SLEEP Date: Tue, 28 Jul 2020 13:54:20 +0200 Message-Id: <5942beecb6918167bbb56e0a2eb931160830c529.1595937055.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) After dropping support for sanlock < 2.4, this constant is no longer used. Signed-off-by: J=C3=A1n Tomko Fixes: c4951694786ecd45424769979762c17e4c8e56d0 --- src/locking/lock_driver_sanlock.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/locking/lock_driver_sanlock.c b/src/locking/lock_driver_sa= nlock.c index f414e3ec07..d4816030cf 100644 --- a/src/locking/lock_driver_sanlock.c +++ b/src/locking/lock_driver_sanlock.c @@ -185,8 +185,6 @@ virLockManagerSanlockInitLockspace(virLockManagerSanloc= kDriverPtr driver, return ret; } =20 -/* How much ms sleep before retrying to add a lockspace? */ -#define LOCKSPACE_SLEEP 100 /* How many times try adding a lockspace? */ #define LOCKSPACE_RETRIES 10 =20 --=20 2.26.2