Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp953084rwb; Wed, 26 Jul 2023 05:38:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlFSAnKQoHZNxedN6kGIOpVttZ2jjdH9NVyz6UlmoB5qi5M8Kt440WXYwtT8+/YT6E1BH6LJ X-Received: by 2002:a05:6358:7245:b0:135:aed4:99b4 with SMTP id i5-20020a056358724500b00135aed499b4mr2473523rwa.4.1690375139716; Wed, 26 Jul 2023 05:38:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690375139; cv=none; d=google.com; s=arc-20160816; b=IVlGl6SGfDl9+VUCLRyTorTo8lsP2oup72lHio58H4iZgPUSxaHVWWpZ5X3bmT0kjp DUJGYF2Q72FSHifIjMIsEkBILN3NaaB/vj3fOFbkZSyUfikucuhBnCOXeeHlsfr2sTZK IEzRAt4D2AdcCA7ylX8RfPjzycUM/LA8lv2MX51JL82MiNtiTyHglzzYTzU8wXLs+fHG fqqwFZQBAVcOaqZaRyT8imyKzBEAjgiutOJtefDFpFcnVKe0FkKIeBUcwLnJMt4bKvGy mxEFfkXT0Tq6fjTsg8hgvB+6IQKHS2j9nt1OvUgXRgj5U5H+HWLXyzyvXK3rzzd1IILP Drrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=LnW9xkF8qrzBpOp/lykCe+AD7AowiLx25o2vuyMj38Y=; fh=HwOMgwl7wHFhqWLRBLCtp7KSyG5WaHHYsTuRJD6/gOE=; b=mHhlNQBoZhzfy56wQo2eo8pd/9R72m+2HfxnutEbQUC0kBSR/racGI6ahW8FjT+j+3 9nTEtwglf0ZlZb7Qabgu1ylGglp05/HQHXP06LT24guUK3klr0O/aNTudfY00hLg2D8v VnC9C/5te1eRct4iZJ8L0FEwRg9XwpJkaAzhMzuo41ATsjP1tGWzklk29DIj2/8QduJI GRLs1CApb0Yfb900/GrkZ+Ng51J4fy50QMYlm2P7hHsnPxtd3+8PWmtaDqrrnOteVP0U c7x/7y2fdRBmP00vAjmH4ZBS8qGFuSKOf+mMibvFi9r02ryT8odJ7dVFTIQAwPIIqC4i Z2Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PDZqX1Fo; 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 s123-20020a632c81000000b00563c4244af9si4328323pgs.722.2023.07.26.05.38.37; Wed, 26 Jul 2023 05:38:59 -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=PDZqX1Fo; 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 S234000AbjGZMOq (ORCPT + 99 others); Wed, 26 Jul 2023 08:14:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233904AbjGZMOf (ORCPT ); Wed, 26 Jul 2023 08:14:35 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9705B2698 for ; Wed, 26 Jul 2023 05:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690373618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LnW9xkF8qrzBpOp/lykCe+AD7AowiLx25o2vuyMj38Y=; b=PDZqX1ForN82WIUVp2NIsGLTpUGZ8zFycYdzHbRtVzt2qYol6dvbowxpaGqNzXl21XOb8E d3GLGMegCFDXg4uMIQIr8JTyuZ5rMdWfkTtDBP96LSRPCeXQEF7kfaDI2/dh/t8HtW0wXb 5BVu4Vw4P89iDHcIYukK7kp4aF58WWE= 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-510-odnFqjtHNDuQw6wgKoCQAw-1; Wed, 26 Jul 2023 08:13:37 -0400 X-MC-Unique: odnFqjtHNDuQw6wgKoCQAw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D3054185A793; Wed, 26 Jul 2023 12:13:36 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.131]) by smtp.corp.redhat.com (Postfix) with ESMTP id 34EB6200BA7C; Wed, 26 Jul 2023 12:13:36 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <168979146324.1905271.11000616800905663660.stgit@morisot.1015granger.net> References: <168979146324.1905271.11000616800905663660.stgit@morisot.1015granger.net> <168979108540.1905271.9720708849149797793.stgit@morisot.1015granger.net> To: Chuck Lever Cc: dhowells@redhat.com, linux-nfs@vger.kernel.org, netdev@vger.kernel.org, Chuck Lever Subject: Re: [PATCH v3 1/5] SUNRPC: Convert svc_tcp_sendmsg to use bio_vecs directly MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6579.1690373615.1@warthog.procyon.org.uk> Date: Wed, 26 Jul 2023 13:13:35 +0100 Message-ID: <6580.1690373615@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 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_H4,RCVD_IN_MSPIKE_WL,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 Chuck Lever wrote: > Add a helper to convert a whole xdr_buf directly into an array of > bio_vecs, then send this array instead of iterating piecemeal over > the xdr_buf containing the outbound RPC message. > > Signed-off-by: Chuck Lever Reviewed-by: David Howells