Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2568932rwr; Fri, 21 Apr 2023 10:35:36 -0700 (PDT) X-Google-Smtp-Source: AKy350aUT02iEOib4BJn84CyQm6tSebETfozCaXkgoUwoGbtBL2qv++G8gUFpm2PBuy82u2VFsFv X-Received: by 2002:a17:902:d4c8:b0:1a6:71b1:a0b9 with SMTP id o8-20020a170902d4c800b001a671b1a0b9mr6813079plg.47.1682098535761; Fri, 21 Apr 2023 10:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682098535; cv=none; d=google.com; s=arc-20160816; b=P/BlQKQ4OuQ952G1o7WqdxEASNCGVgOjrUi7DEpnkSr55M0DdMgsDHgjMMWBPK+2Pe ab2v275pQiD0Zi6YiI3CwjCKXmXdhSTCeIlWXzIsGytE268NnwHVmP1JDhExJuZk1+zm 8fYvNuQOTK1KqC/89xvQqTD4iTBBrhk52nag7AdRJtJCs+yiAkaLA9Gv7DAhWXmiSaWo RuUdiNuVeHsXxTLGo5naiJBCAfhTav+s2HtBhKRgbiWjzuQ4VU5R2qi0Br0jY9UShAS7 esMmnNaFivl7dE9m1PqiDp0KTG7tZAdkhlB6MtcLGOzE6mF6V3JUuyt1LgsZ9jQQ1ex4 YbFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=3oVkXNMaz59VAAwJ9/yqYsr8BtlGKB1vFjdFjCtyAvw=; b=krL4/UcDJLInN09Zg2yUnmfQNS6r0KyuOL+HoES1mqoWBU3iUzLQcWFQ1UnXaRZ4SX ixSp2DBmj/Sf4RVPAXYlvPi68bCIINmDPuafrVz5B1Kw6D3HrOOsR8B5OKgaDxwViWkZ BngxF4NAm1l0QjfgIDxPm4xNxuhOzKcEgbHAW0U6/+XWXkzNbNUAaqxL7PfosDhyKDv4 kdeA19TI9lYZ24oTd1LuRf9kDIlkphbW41dDDZrn3YpfvJEg+tNMDVPIaBl1U9bDmwve 8H9MA5DL8m+JhazX6XvB6NBzZhhP7A3IdxTJnJhryx8zQCJz4A6eZ6BMSTalIV8UIcNZ Fk2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZfPjWi1t; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x10-20020a17090a6b4a00b0024988ecf24esi4832875pjl.150.2023.04.21.10.35.23; Fri, 21 Apr 2023 10:35:35 -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=@redhat.com header.s=mimecast20190719 header.b=ZfPjWi1t; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232925AbjDURR2 (ORCPT + 99 others); Fri, 21 Apr 2023 13:17:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231521AbjDURR2 (ORCPT ); Fri, 21 Apr 2023 13:17:28 -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 E760010D1 for ; Fri, 21 Apr 2023 10:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682097402; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3oVkXNMaz59VAAwJ9/yqYsr8BtlGKB1vFjdFjCtyAvw=; b=ZfPjWi1tjhVD70JOR6Kwgk9xgoox0VIrgBqFgrqeFLIEgKVg3gTFjpBSHt1QJ9Vo6wLzO/ pNRICIzbj6bS3HuEwB0lni5049aarHXSia6J8GzWKlwsLT1wSRtYMNmvHXTvEe6XRY9CE3 AnxU1kjUWL7TVfj1P84tUXJEnpCmp7c= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-391-uxhs3AmSOdqqeRW_zU_VBA-1; Fri, 21 Apr 2023 13:16:40 -0400 X-MC-Unique: uxhs3AmSOdqqeRW_zU_VBA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 78A93101A54F for ; Fri, 21 Apr 2023 17:16:40 +0000 (UTC) Received: from [172.16.193.1] (ovpn-0-3.rdu2.redhat.com [10.22.0.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3317F1410F20 for ; Fri, 21 Apr 2023 17:16:40 +0000 (UTC) From: Benjamin Coddington To: linux-nfs@vger.kernel.org Subject: Re: [PATCH 0/9 RFC v2] NFS sysfs scaffolding Date: Fri, 21 Apr 2023 13:16:39 -0400 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 On 21 Apr 2023, at 13:08, Benjamin Coddington wrote: > Here's another round of sysfs entries for each nfs_server, this time with a > single use-case: a "shutdown" toggle that causes the basic rpc_clnt(s) to > immediately fail tasks with -EIO. It works well for the non pNFS cases to > allow an unmount of a filesystem when the NFS server has gone away. > > I'm posting to gain potential NACKing, or to be redirected, or to serve as > fodder for discussion at LSF. > > I'm thinking I'd like to toggle v4.2 things like READ_PLUS in here next, or > other module-level options that maybe would be useful per-mount. > > Benjamin Coddington (9): > NFS: rename nfs_client_kset to nfs_kset > NFS: rename nfs_client_kobj to nfs_net_kobj > NFS: add superblock sysfs entries > NFS: Add sysfs links to sunrpc clients for nfs_clients > NFS: add a sysfs link to the lockd rpc_client > NFS: add a sysfs link to the acl rpc_client > NFS: add sysfs shutdown knob > NFS: Cleanup unused rpc_clnt variable ^^ whoops.. had the wrong patch in here. I'll send a v3. Ben