Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4420484pxu; Mon, 21 Dec 2020 12:02:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2WCTxlSZtbp66ZqrIyk9D3jVEoxKpxn0UA4OUbivkIZ5s3Q7UHLk6MN1eWwXYElM8aM7H X-Received: by 2002:a17:906:4809:: with SMTP id w9mr16784788ejq.139.1608580939055; Mon, 21 Dec 2020 12:02:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608580939; cv=none; d=google.com; s=arc-20160816; b=UvAhrg9MxKVCVqfiSyi+OzLu++oPlAO4qIKpqcuNQLn/jPN6JP4uTGBJkaa0wMUeVX rOpSlY/NF78RZiWNcLhSEPtbekX9b5T1ZKky5QVddARalTXBNistisPlR5p/zju6XpG+ nQicj6SMGZwIDD1u/e2OKa2z+ezY20sBMv+I/cT5Iv73J/MxdPolv2Tc0VVrdOSAi71C VuoJGIfnNsT/H3heFOh87XCwoi8w0NOluXsb4DS5iUAvROcqCovIywe1WGyyQiJEWD9l NsoO6ekgK7xfcoTuuWk73cUEvVZ0p0hazXhnlhFWKGh0wF9GKdJsYDHiwsU/UFyPb6fx jqhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:from:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date :dkim-signature:dkim-filter; bh=/K1YichYRuhtFKjlXX0BOpzl5RPSJw643400eiyqhuc=; b=m+NhUM8mMA0qhLQpXjlBT0byB9HeuBjpa3d2R8zxcCjMJKgnN4nFO6c5zepU7JTucp f+dvHkgC+xJGhOsfNIlYMIehqZ12kW5gtSvM17DubM26jJ+x16fPqXLhswf/MZ2c6oUt 4DNw8Czb1U+FnbOXhNtb0SXrNEsQ3xBVEZZeRMpICmcJ+ZyHp2uUw8cKzNYB37Qt9afh syXWY3PqvVSO/fvT1bs1nKNvLTQN5cubr0oisYldvOzS7SiSpgkBEJMIdMQImGz/fClR znBlS/NE0deaKnPDABCWxs8sBhjOM1/IP6gzsH2K8qzgil401v3Ut5UuUHxpUTxPYmS5 6Vrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=WpdUjJY7; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t23si10855877edt.60.2020.12.21.12.01.54; Mon, 21 Dec 2020 12:02:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=WpdUjJY7; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725947AbgLUUAw (ORCPT + 99 others); Mon, 21 Dec 2020 15:00:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbgLUUAw (ORCPT ); Mon, 21 Dec 2020 15:00:52 -0500 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B682C0613D3 for ; Mon, 21 Dec 2020 12:00:11 -0800 (PST) Received: by fieldses.org (Postfix, from userid 2815) id 16CB76EB8; Mon, 21 Dec 2020 15:00:11 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 16CB76EB8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1608580811; bh=/K1YichYRuhtFKjlXX0BOpzl5RPSJw643400eiyqhuc=; h=Date:To:Cc:Subject:References:In-Reply-To:From:From; b=WpdUjJY7h6IQFK6vv06GG+sdqtGwUJhfyeTtXFDKX99LhXOI48y0ya+cFH2AqCbSi dBsFFu2k+jdXidfJPzMZk1E8RymWPVwJFzL5SQORyTG95kkFgu4OoQd5Cuu90/SBsw Dk7Yp1b2c9IAuZCNIrn6mrvsG6nP4+6ml7c2fQlU= Date: Mon, 21 Dec 2020 15:00:11 -0500 To: Tom Haynes Cc: Bruce Fields , Linux NFS Mailing list Subject: Re: [pynfs python3 0/7] Python3 patches for st_flex.py Message-ID: <20201221200011.GB27606@fieldses.org> References: <20201219182948.83000-1-loghyr@hammerspace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201219182948.83000-1-loghyr@hammerspace.com> User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Sat, Dec 19, 2020 at 10:29:41AM -0800, Tom Haynes wrote: > From: Tom Haynes > > Hey Bruce, > > This applies on top of the previous patch set. > > This passes on my RHEL 8.2 client running python3 against a Hammerspace > server. Thanks, and thanks to Tigran for testing; applied.--b. > > Thanks, > Tom > > fwiw - In some of the error paths, the system would complain that the > exception StandardError was not defined. > > I found this: > https://portingguide.readthedocs.io/en/latest/exceptions.html#the-removed-standarderror > > Tom Haynes (7): > CB_LAYOUTRECALL: Make string a byte array > st_flex: Use NFS4_MAXFILELEN in layout calls > st_flex: Provide an empty ff_layoutreturn4 by default for LAYOUTRETURN > st_flex: Use range instead of xrange for python3 > st_flex: Test is now redundant > st_flex: Return the layout before closing the file > st_flex: testFlexLayoutStatsSmall needed loving to pass python3 > > nfs4.1/nfs4client.py | 2 +- > nfs4.1/server41tests/st_flex.py | 124 +++++++++++++++++--------------- > 2 files changed, 68 insertions(+), 58 deletions(-) > > -- > 2.26.2