Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1155147ybi; Fri, 21 Jun 2019 15:08:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxkx6QiHoAncnT+beetKx8ghYGjENlHq3cemdGV0yWpdgIIKUNVXv9CRQEVv7SRHbBJnp6 X-Received: by 2002:a17:902:8205:: with SMTP id x5mr35710323pln.279.1561154911244; Fri, 21 Jun 2019 15:08:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561154911; cv=none; d=google.com; s=arc-20160816; b=xpLDB1/Wt7ArAL4sHCsieucNbtPVpyQ10lBfFeGrHEmHgqHPcjvsAVDvGjZdolruwI gFWgzNTKv/S/PkmKn4qv5DRktqAnv2G2AjjVQl7n7cwNSw7xXeJDeUWOCfks7sPzSd7v wBGCmAqcEQZPlBqDPH5xQajgdhb9DQiNUKntVYd6O/SsG4GW/+0RoVCV4Qdws7FtapeB 9XymTbKuGJEONuy2xeF+ppUS59UAht3eEvMFiBJo3mzIxkxIC+F7/O4pfiFf0ZRMo4Bd WRSw+a/EqXIapWPsqzSRh+gxXwU1v3GQDPxaupltRih4dfA5Io9dZ0iheeU+tkxqJwob nHIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1peWTuI8XKMedN5x60d1sznCH87NdbSIqHehbhrdi0c=; b=BAtER/H69z70fSTCHXdKW8AhZZtNGrlk04elJiY1RwVfV+Sj7nNXV8YhAtekiA24Pa C9EB+DTDPsfv6wOLeicHvWt+2DQ5K4OkALIhrm4E4lrzIDL+6Dx7dhTtNyWXCa/FgyJn /zbfVZJbPG9yzt5uhCfqkFQ98/w3AK7GJ1yFlzA/R5pdLxdQHb2K/xhuNal2Hcu9JHYu 9cTSDvgHmcVBBkcX871ki3T/vpIatm1P8R8QKIfJLPzL0BBOcJsiaPd2i682L3xE4tiN 5hBRgwEm7LVyq7sQwiIp+Tnh/mdqoPghqeZu3Oi/AoN+/t5lVttbSc4gsjulQqxLQ3wb FIyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10si3433256pgl.543.2019.06.21.15.08.15; Fri, 21 Jun 2019 15:08:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726031AbfFUWIO (ORCPT + 99 others); Fri, 21 Jun 2019 18:08:14 -0400 Received: from fieldses.org ([173.255.197.46]:45532 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbfFUWIO (ORCPT ); Fri, 21 Jun 2019 18:08:14 -0400 Received: by fieldses.org (Postfix, from userid 2815) id 0E22A1BE2; Fri, 21 Jun 2019 18:08:14 -0400 (EDT) Date: Fri, 21 Jun 2019 18:08:14 -0400 From: "J. Bruce Fields" To: Anna Schumaker Cc: "J. Bruce Fields" , Anna Schumaker , linux-nfs@vger.kernel.org Subject: Re: [PATCH 00/16] exposing knfsd client state to userspace Message-ID: <20190621220814.GD26043@fieldses.org> References: <1561042275-12723-1-git-send-email-bfields@redhat.com> <20190621181309.GD25590@fieldses.org> <760712b7d0b965974f18efcc47e73561621f9c4c.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <760712b7d0b965974f18efcc47e73561621f9c4c.camel@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Fri, Jun 21, 2019 at 03:25:04PM -0400, Anna Schumaker wrote: > On Fri, 2019-06-21 at 14:13 -0400, J. Bruce Fields wrote: > > On Thu, Jun 20, 2019 at 10:50:59AM -0400, J. Bruce Fields wrote: > > > - this duplicates some functionality of the little-used fault > > > injection code; could we replace it entirely? > > > > I'd be really curious to hear from any users of that code, by the > > way. > > Anna, any ideas? > > I'm not sure who else has used it besides me, and it's been a while > since I have too. Do you remember which ones were most useful? They are: - forget_clients - forget_locks - forget_openowners - forget_delegations - recall_delegations We've got a functional replacement for forget_clients, but I haven't looked into the others yet. --b. > > > > > The idea was that it could be used to test client handling of > > exceptional conditions like recalled delegations and partially lost > > state. Is anyone regularly running such tests? > > > > I don't hate the code, and I'm not on a crusade to tear it all out > > Right > > Now, but it does create a few odd corner cases, so I'm wondering > > whether > > I could get away with replacing it eventually or whether that risks > > breaking someone's scripts. > > I'm cool with replacing it if there is a better way to do things. > > Anna > > > > > --b.