Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4071186rwj; Tue, 20 Dec 2022 05:51:58 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Ob4BUk1AaFk0B2SvpZVJ9klw9mxDid3H5TZAeb8pruQiBVJnBdcFwDjiHB5Y91n1sQx7r X-Received: by 2002:a05:6402:25c3:b0:460:811d:8a12 with SMTP id x3-20020a05640225c300b00460811d8a12mr40626740edb.20.1671544318462; Tue, 20 Dec 2022 05:51:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671544318; cv=none; d=google.com; s=arc-20160816; b=E5MGkdLxK3r7S7L9xi2O3N8RbH5XPuqRBNX7UQ4cTWhilavM/h5avuC+4TJML1UmlW VIPceY8XHlTHcQFfn2OHi6nm2OHr0c07uD7poBcGpeh9aVzBiut4Deo0xg4GKacnAA82 hl7SPP9Cyvq814bKxCzMDA8cmTNPA6PeSiUFgsx3S3i4m6PKReXgfFXWsgScV6s+IT38 tAGZckqKJX1JmKWji8wOJWXwQv66KS+XIArNBoAbyuzrWblSYLngP586gMeY3+P1GP9W 3m4qUDZhGoBY2sNt/5WAzoJZlz5NVfNOcprgufl3d1Lf3HiiwFG/2HHrOtzGzYhGY8ex XHJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Qb8KUPS0oeSxFKMXM7QL9P9dPC93LY4lqMV3Xlc+Azs=; b=pZQPwGOZoFURExhHosdP1bNbAyz6doVdT99gRUkfqj38pXd3ja0t2v2zviNYfqxVq/ Mklu9+c+c71Vi5KGMB48jHLOu9Bp2nd3mFXU2oL7+dSuPngM2iviAiBw20m8gln0Pxz3 YQnb3OstzEa3tfQhar/g4u5BpSTyBZWFRMPswLy5uwYOgVtqQbNB61pnSwJq+WXnSJpB cUh5yZmy6VEiz+eapdxtJyTiGePNv73s5Ce8XBRG8mVbs0IAdcSBv7W4bkcJQ3ECPYTx vnix0SBzgZU+pp96H/Oc+vIoTHMKvxEIu9Uhx3gU0DzroR/Wz9dbqe+Zs99KkKeEkuff gYEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arrikto-com.20210112.gappssmtp.com header.s=20210112 header.b=6E209t0w; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go30-20020a1709070d9e00b00839f873bf66si417589ejc.320.2022.12.20.05.50.55; Tue, 20 Dec 2022 05:51:58 -0800 (PST) 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=@arrikto-com.20210112.gappssmtp.com header.s=20210112 header.b=6E209t0w; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230117AbiLTNoE (ORCPT + 99 others); Tue, 20 Dec 2022 08:44:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233652AbiLTNoB (ORCPT ); Tue, 20 Dec 2022 08:44:01 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36B6E1A073 for ; Tue, 20 Dec 2022 05:44:00 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id o5so11787460wrm.1 for ; Tue, 20 Dec 2022 05:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arrikto-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Qb8KUPS0oeSxFKMXM7QL9P9dPC93LY4lqMV3Xlc+Azs=; b=6E209t0wFzuEl6XvR9yI9R4VH1OE2fluuYIwZqdv3Fz20aU7xVx2fqZKzLu1vKqpW4 XDm3gsAbELW1VrA3I0mj/wJsbKU/LQYgLvB0cg211IAwvoZfbRygq9ouACbVgZZvBqM9 6IlTre76Nq189wUDMDndcSehADdgo7MM7r6p5y6ApkqWNsidQF2CYTkO8QQu6EiTDYFE KIRLWQ7O/RUo8BA/RS4IBVNfKZ+a7jZHnDeL15uFkae2H4u5LFrusREFtqrOrfYreHlB YkIKT5R74qvbpDBliWkHOyA1mDluO57cstDNcJ2af1ObbKQ6RKE9BgBhTmBciIZ5XqLz YK/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Qb8KUPS0oeSxFKMXM7QL9P9dPC93LY4lqMV3Xlc+Azs=; b=lURKdhBf4Rjy+1HJGMlclLemhIRXjphTX0kB57w4t16iVONcjYGibp86svHnVSL7jh nXPYEhnfQyGI4eUvZFg54kDClxUUUwlGUp0pHMpSLZbQjJk7fHcqVHVeduZF8Bav6ojX Q3IgZwfZUSnJZ43r9lj3Qdrh8YDt5/eAufncTKm+mdsIVwNTDd5f7QnM0dBJ7pz3vX3I NFrnfsPV9pIqyKW6OW5XeWqYRKl1MWBlCGYXFQXsxBqGRV5eC9Pn4bhAORlG2R65Q/ej zjyQn2jrJhljoQwJWgNkpwaKdccCKGi7OgxPm7B2rHULXMxt7HGYCCo2fkS+WktcFRF1 VVIw== X-Gm-Message-State: ANoB5pnR+5OH+Ra/ttbhuu2M/2rHXW5AvstHjWrBt54RMXTJIK3uorjm Z98aJIlI0IdpL1dK7XdWOhN7oA== X-Received: by 2002:adf:f0ca:0:b0:241:fd48:dccd with SMTP id x10-20020adff0ca000000b00241fd48dccdmr28895454wro.63.1671543838772; Tue, 20 Dec 2022 05:43:58 -0800 (PST) Received: from [10.94.1.166] ([185.109.18.135]) by smtp.gmail.com with ESMTPSA id ck5-20020a5d5e85000000b00257795ffcc8sm12868345wrb.73.2022.12.20.05.43.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Dec 2022 05:43:58 -0800 (PST) Message-ID: <936effe2-1268-42ab-886e-649b7c501828@arrikto.com> Date: Tue, 20 Dec 2022 15:43:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH] nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted Content-Language: en-US To: trondmy@kernel.org, "J. Bruce Fields" , Chuck Lever Cc: linux-nfs@vger.kernel.org References: <20210313210847.569041-1-trondmy@kernel.org> From: Nikos Tsironis In-Reply-To: <20210313210847.569041-1-trondmy@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 On 3/13/21 23:08, trondmy@kernel.org wrote: > From: Trond Myklebust > > In order to ensure that knfsd threads don't linger once the nfsd > pseudofs is unmounted (e.g. when the container is killed) we let > nfsd_umount() shut down those threads and wait for them to exit. > > This also should ensure that we don't need to do a kernel mount of > the pseudofs, since the thread lifetime is now limited by the > lifetime of the filesystem. > > Signed-off-by: Trond Myklebust > --- Hello, This patch was merged in kernel v5.13, but the issue exists in older kernels too. Is there a reason that the patch was never backported to older stable kernels? Thanks, Nikos.