From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93F56EB64D9 for ; Thu, 29 Jun 2023 20:04:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232259AbjF2UEi (ORCPT ); Thu, 29 Jun 2023 16:04:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232316AbjF2UEV (ORCPT ); Thu, 29 Jun 2023 16:04:21 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A16D3AB1 for ; Thu, 29 Jun 2023 13:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688068949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=4dDgyzZLkY2/8iXhAmRttHNZmuwZzxKf8DyRqRDsvIs=; b=ivTVNjWOT/tvrh/3moBGlBGUdlhz52YgOcxSvQubT9SKtiEfG81OEgW6i3iXydlfBqamuG lbVw2eOk072EGiJR5oX3XAcb7Y5OoeG155VybXuoKx9KyH4bldEcQdYcM2/lUsuzymVaJF ZSC9Vs6Myz6dTp/EFlzzsPnr6j4eHgo= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-253-kTu_riKmMzW_abOJcKEdiA-1; Thu, 29 Jun 2023 16:02:25 -0400 X-MC-Unique: kTu_riKmMzW_abOJcKEdiA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 93CA31C06ED8; Thu, 29 Jun 2023 20:02:24 +0000 (UTC) Received: from redhat.com (null.msp.redhat.com [10.15.80.136]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 590D7F5CE5; Thu, 29 Jun 2023 20:02:24 +0000 (UTC) Date: Thu, 29 Jun 2023 15:02:23 -0500 From: David Teigland To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, cluster-devel@redhat.com Subject: [GIT PULL] dlm updates for 6.5 Message-ID: <20230629200223.GC14388@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.3 (2017-05-23) X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull dlm updates from tag: git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git dlm-6.5 The dlm posix lock handling (for gfs2) has three notable changes: - Local pids returned from GETLK are no longer negated. A previous patch negating remote pids mistakenly changed local pids also. - SETLKW operations can now be interrupted only when the process is killed, and not from other signals. General interruption was resulting in previously acquired locks being cleared, not just the in-progress lock. Handling this correctly will require extending a cancel capability to user space (a future feature.) - If multiple threads are requesting posix locks (with SETLKW), fix incorrect matching of results to the requests. The dlm networking has several minor cleanups, and one notable change: - Avoid delaying ack messages for too long (used for message reliability), resulting in a backlog of un-acked messages. These could previously be delayed as a result of either too many or too few other messages being sent. Now an upper and lower threshold is used to determine when an ack should be sent. Thanks, Dave Alexander Aring (18): fs: dlm: return positive pid value for F_GETLK fs: dlm: fix cleanup pending ops when interrupted fs: dlm: interrupt posix locks only when process is killed fs: dlm: make F_SETLK use unkillable wait_event fs: dlm: fix mismatch of plock results from userspace fs: dlm: revert check required context while close fs: dlm: clear pending bit when queue was empty fs: dlm: fix missing pending to false fs: dlm: unregister memory at the very last fs: dlm: don't check othercon twice fs: dlm: cleanup STOP_IO bitflag set when stop io fs: dlm: move dlm_purge_lkb_callbacks to user module fs: dlm: warn about messages from left nodes fs: dlm: filter ourself midcomms calls fs: dlm: handle lkb wait count as atomic_t fs: dlm: handle sequence numbers as atomic fs: dlm: add send ack threshold and append acks to msgs fs: dlm: remove filter local comms on close Azeem Shaikh (1): dlm: Replace all non-returning strlcpy with strscpy fs/dlm/ast.c | 25 ++-------- fs/dlm/ast.h | 1 - fs/dlm/config.c | 4 +- fs/dlm/dlm_internal.h | 2 +- fs/dlm/lock.c | 36 +++++++-------- fs/dlm/lockspace.c | 12 ----- fs/dlm/lockspace.h | 1 - fs/dlm/lowcomms.c | 49 +++----------------- fs/dlm/main.c | 2 +- fs/dlm/member.c | 37 ++++++++++++--- fs/dlm/midcomms.c | 126 ++++++++++++++++++++++---------------------------- fs/dlm/plock.c | 115 +++++++++++++++++++++++++++------------------ fs/dlm/user.c | 18 ++++++++ fs/dlm/user.h | 1 + 14 files changed, 205 insertions(+), 224 deletions(-)