From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B1D7C433E0 for ; Mon, 21 Dec 2020 20:00:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 16A0D22AAA for ; Mon, 21 Dec 2020 20:00:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725947AbgLUUAw (ORCPT ); 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