Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3598096imw; Mon, 11 Jul 2022 11:43:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v0QWXTq5jTZ1vJoiRW/FJIQ+Y2KTW3S+FEgIdKpjQoc9e8dUyslAyw2bX4TxoljD9WGvAG X-Received: by 2002:a17:906:730c:b0:72b:4f83:51c1 with SMTP id di12-20020a170906730c00b0072b4f8351c1mr7733902ejc.515.1657564991736; Mon, 11 Jul 2022 11:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657564991; cv=none; d=google.com; s=arc-20160816; b=an4qwA4TCtQ0YIBL90Keev41qVDMTFD9PX38agkRzSHmFgKZVm86Ou9eIPmaTxUGRj MWWygmhQbsSnAv1Xu7rSuHTRcH8ZrLWcZNbsap1dwhjzRTB6Zpb9NYK6yZ5Qz6PYAxSK 5/oUBJR0M7dFLX4GZ9CUmmZVVFiaZyy8/RqM/eJ//ySIPjn1189tGXxy2zOgzhQwv2vk xq0Q8m3ZLvpbsPipujrGlEX4LHi7nhlW73OU8YhYo3HK5bFxZnKL6bJreJETTu5Sia33 SszofWiTC9Lh8z53CyTuyNib8Tno20XRi+k6BTF/Q7ITmGbcg4OCEHSeje51EwZSQIBw MLsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4hlwUdKCLi9TjsCVRGYWuxzVHCpEqLTfW0dgNb+mGEU=; b=K42MrbfSZkqi5G9YX7bESwBJ49Uu1pm+SOo774N4HL4JhFHGKOe9arxZgrSMYijiiQ BZj5OwDwviqtUPAJJ4FbEmWSqd/eG8fuPNEM+oxJYhps44JGK1mbUBPsUToisR7pHZXk zn7Y0XG9AtUzT6UMhtUcHUBssdtGSnMR1RomH4izWMhwVk8HI1wYZUJVvZUY9hPVe1m/ IbkLw28IHDOkCtMbBkMiF2tvV8kjHaXRtGvtkN3iSu5BnH0FeC1fl046LtNgSdHXrtys QQNFl5p54ilnNNCuH0P47YthB1UJ4JyJ+ekzcQ95/ztWQNNsB1cWyO977p8xSGI7RP4X +DUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lYVYNVkJ; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j5-20020aa7c0c5000000b0043586d19cf9si9623290edp.465.2022.07.11.11.42.32; Mon, 11 Jul 2022 11:43:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lYVYNVkJ; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229889AbiGKSar (ORCPT + 99 others); Mon, 11 Jul 2022 14:30:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229754AbiGKSar (ORCPT ); Mon, 11 Jul 2022 14:30:47 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9753477A43 for ; Mon, 11 Jul 2022 11:30:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 32469B80E4A for ; Mon, 11 Jul 2022 18:30:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C87BC34115; Mon, 11 Jul 2022 18:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657564216; bh=1ECppYQcPsNFF2A1BgCRPau1QLoWOIFYAMJ41XB0gYU=; h=From:To:Cc:Subject:Date:From; b=lYVYNVkJSGyMLixIOEK2uNuN4CsTFoXvLgiOEPNL84I1OBFAuKfUSkX2nsJnLvTtm R86ubqA2yJFIxy1L5iXFlYZbDXVzEWyq6EhMlcZEvnsUUcHBoszB+czYUys9TZHb2M ssqo1b7Qjb1479JByqSMtZPTsEujiv4rQ6853nQ6xTwybK/EfFlLM8PPkMBGhMeGL3 48okLOmGKNyYsMIsCB0hCJjQavMzTEtDmx5J8CkHkcDsd3sOLIGm4WFj4PQvUHhQ0Z fRpCLgzYPdifMvyvoKYLU0Wp05hWaPA2P6VrGeH2TVZPqPfCqNXzcoDk2RMojfBoG2 iOQeOhkkTKBvA== From: Jeff Layton To: chuck.lever@oracle.com Cc: linux-nfs@vger.kernel.org, trond.myklebust@hammerspace.com, anna@kernel.org Subject: [PATCH 0/2] lockd: fix hang on shutdown when there are active locks Date: Mon, 11 Jul 2022 14:30:12 -0400 Message-Id: <20220711183014.15161-1-jlayton@kernel.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org We had a report that shutting down nfsd would hang when there were active NFSv3 locks. The first patch fixes that. While testing that I hit a crash in nlm_close_files. The second patch fixes that one. Jeff Layton (2): lockd: set fl_owner when unlocking files lockd: fix nlm_close_files fs/lockd/svcsubs.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) -- 2.36.1