Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp4074771rdh; Fri, 29 Sep 2023 10:14:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFCrbtO3co5qisKSszOqz7ER117E6AEfW6qF6iT/7X6FGKDLv56uvqSNpUybvg09aAw4TMz X-Received: by 2002:a17:90b:1952:b0:26f:7555:76 with SMTP id nk18-20020a17090b195200b0026f75550076mr4472529pjb.11.1696007663299; Fri, 29 Sep 2023 10:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696007663; cv=none; d=google.com; s=arc-20160816; b=N2reoevBthI3Ti7Xv9kZzv7U9rV7iRBxqchObti5Ghl+UmNcq5dXRHTEQduW35f9md vvovOpPR9vYVn7d1db24WGq9rAlbIYX/mhs/3PrjPlzFjbgcQqXpaKSn7ut6vTcFsTvS 4qyYI8e7W6ibW9zgRddcdn9iIzmpNbWL+UniCcklTK8FRvBGuMCHLs/YQ5EZDcSspdTB uau12wJH/rJKEL4FhgO8m4vTJKy4gl6RDQPtxQnfAnYQmqQZuijjHam8DTocS5mKQeUC yqMIrKIDhMc7stijEk2HSoaYIzoSWkaVDD+GFX54jFdUsHcEGw7cU4ZTiYKE3lhfs3cE N7oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=XXXO5xrSEvmWgaPqAcWrgpfm44S1xOfOzQ4TCjtFW1I=; fh=Q5QWD8ujztFxuR7D78J83h1yDiqvFffeocqAXneQJKk=; b=eD80znSVMD+mPq5wlCddDoAPGsKfhdTYsBp2KTKTLxv9NBzLz0xfv09A6lBsJBKMpg kDacn4OUNBbDU9K1Lw9y8vbVeOexc3B7nz0n9Ud6/3mLWEXWF4YOR0gy6r7BLJbKSqJl A535ckvrJOoP0UBQO+9eWYzHo1ehGHbGkaEbw7EYuS+zb4Y1kGescfsAYZ3NxncyG+wB JpNTgHmHOyA4UXGrhnK7xhiowvEwM1RrKUec9rkVYNIQYgpOSHLyfqaUzQOGLs5cXMXy SThvplS0vvhBV8x0GvlJvWbUYQoMk+sxSx82EwlCfKDojJwtlV8YvHy5hA5CTQbRR/tJ ZUiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="t3MgS8m/"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id mq16-20020a17090b381000b00271c377a534si2151947pjb.104.2023.09.29.10.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 10:14:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="t3MgS8m/"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 13E258021285; Fri, 29 Sep 2023 09:34:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233215AbjI2QeP (ORCPT + 99 others); Fri, 29 Sep 2023 12:34:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233620AbjI2QeP (ORCPT ); Fri, 29 Sep 2023 12:34:15 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22C001B5 for ; Fri, 29 Sep 2023 09:34:12 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C007C433C7; Fri, 29 Sep 2023 16:34:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696005252; bh=TlNGAaBCPbTElfLlWIMLwpUz4LmP3mv+vFhbaU7emaM=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=t3MgS8m/XdIK+zcgQ9lom8Ei9aluKjBRxOxxuomtPWr2pie/G8cE/DvtO5EgGvoRa yc0fEgS/mzf33TrjUTkHr2twBD0gWr0lbXubKGPtNYE1mHu3gbptmNUVTr57VGvp1f 0MKzntIKOxNZgZ+K4dr1XzwMZPUu+XBdTxaBd9B6wAQ+VvWEvf4y+ZQofzZXq6BoO6 s7Z3SZuQEoYH4tMOQfn2j4xxKf6q1sc3kJhdqpWGa+eGoYOrE7tlssfH86EdaI6yIy SM6u2EJvpwF8kRc817XNmC7mg1JX89T8WAhh4zB4Wu5Nf57d+FuzWJv80ORU0sSVzC OuZbIiDDvybqA== Message-ID: <01ac6657423d6f3a28aca457c5651c8bda12cd68.camel@kernel.org> Subject: Re: [PATCH v1 0/8] Clean up XDR encoders for pNFS operations From: Jeff Layton To: Chuck Lever , linux-nfs@vger.kernel.org Cc: Chuck Lever Date: Fri, 29 Sep 2023 12:34:11 -0400 In-Reply-To: <169564827064.6013.5014460767978657478.stgit@klimt.1015granger.net> References: <169564827064.6013.5014460767978657478.stgit@klimt.1015granger.net> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 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_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 29 Sep 2023 09:34:16 -0700 (PDT) On Mon, 2023-09-25 at 09:27 -0400, Chuck Lever wrote: > Tidy up the server-side XDR encoders for pNFS-related operations. > Note that this does not touch the layout driver code; that can be > done later. >=20 > Series applies to nfsd-next. See topic branch > "nfsd4-encoder-overhaul" in this repo: >=20 > https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git >=20 > --- >=20 > Chuck Lever (8): > NFSD: Add nfsd4_encode_count4() > NFSD: Clean up nfsd4_encode_stateid() > NFSD: Make @lgp parameter of ->encode_layoutget a const pointer > NFSD: Clean up nfsd4_encode_layoutget() > NFSD: Clean up nfsd4_encode_layoutcommit() > NFSD: Clean up nfsd4_encode_layoutreturn() > NFSD: Make @gdev parameter of ->encode_getdeviceinfo a const pointe= r > NFSD: Clean up nfsd4_encode_getdeviceinfo() >=20 >=20 > fs/nfsd/blocklayoutxdr.c | 6 +- > fs/nfsd/blocklayoutxdr.h | 4 +- > fs/nfsd/flexfilelayoutxdr.c | 6 +- > fs/nfsd/flexfilelayoutxdr.h | 4 +- > fs/nfsd/nfs4layouts.c | 6 +- > fs/nfsd/nfs4proc.c | 4 +- > fs/nfsd/nfs4xdr.c | 206 ++++++++++++++++++++---------------- > fs/nfsd/pnfs.h | 6 +- > fs/nfsd/xdr4.h | 7 +- > 9 files changed, 135 insertions(+), 114 deletions(-) >=20 > -- > Chuck Lever >=20 Looks good. Nice cleanup. Reviewed-by: Jeff Layton