Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp16383394rwd; Mon, 26 Jun 2023 09:15:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7rRZvdgP9Izr/J9JoAtRYgKkJmMh5JsN9CKCYkWRAOQseqd+Mc5eMcR8oPwMP5fwIPRAdN X-Received: by 2002:ac2:558e:0:b0:4fb:7d73:d097 with SMTP id v14-20020ac2558e000000b004fb7d73d097mr229658lfg.39.1687796107737; Mon, 26 Jun 2023 09:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687796107; cv=none; d=google.com; s=arc-20160816; b=vEFNLEeQX3PHdIOFLftE5/YAZtvfkPg2laf9gHJ9hohG/g2BpEPJla8zw/TyCpzKl1 r3HpM8CZCoqeyd4teCG3SeGSmCek5QO0/TUgLcldGkFIoxHpJzadPU8liC1C+a4mzBIX f9Tp4YUrKL/HpFsHYs71gUg8ifRxYVzX+UXr8EYTQ5Omq6EvZWVucgfRaa0aR5KvE2cq xe6W0mkALQtYcDdKwrsYz2627t8im4eYbezhqHR9fXy2Iw0alzdFmfFr66Ol5+C5BpBl X0hBrFAe0CzwEHBn/bwXUkeueyWYPFTLd8aJSH2yobXQm8kSeFHcUoZKVJcNhR2ZzPRK HcTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=pfYjtj1R9OBqs+dVmgnQu3/n0GQzqWIXlWSAYyCQgfE=; fh=LjG57/xhNymJeHvCYkXV5dN1FMn8k3P6RGOhbmkzhhI=; b=x8ae6MIbY3aUU7RVwVpke+RPm75rkLUmqVWqTb270aXEzEpUr8bb6jejotb+YQPDzH 1d0lBzn4GYIgo+wk4ULo2oK76NSDq81bgLI5XqJcQge41d/nuNUyB8SkLc7X71O3O9YB cNgNUF29EwDcsavUlatD4A+w2SLblHc4ldaY9Cx1TWT8gBo9L5AvuJ6EJYm2fbJ1bTSy S5fBUrFc8Rn99HDxksAUTrz3oA4OrY07PSR8JaOHffqaJg6IMiE8y+83MhOjBPuOdR4C IhQN6up/rKJg4n++LCCPjOJ89z5GzL23TvkKZeJEs3YvTh0BNim9f5JlOwyd7AeaWWZ1 Dndw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ZC4tdxEL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i19-20020aa7c713000000b0051d98ac7dadsi1351796edq.245.2023.06.26.09.14.42; Mon, 26 Jun 2023 09:15:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20221208 header.b=ZC4tdxEL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231367AbjFZPl7 (ORCPT + 99 others); Mon, 26 Jun 2023 11:41:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231343AbjFZPlz (ORCPT ); Mon, 26 Jun 2023 11:41:55 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40F861BDF; Mon, 26 Jun 2023 08:41:24 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b6a1fe5845so16784251fa.3; Mon, 26 Jun 2023 08:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687794075; x=1690386075; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pfYjtj1R9OBqs+dVmgnQu3/n0GQzqWIXlWSAYyCQgfE=; b=ZC4tdxELBaEzsmkyrCDXSO4zrWdOHRW66r1aH4EZlhpnkAAIXHH6JHFNZgMHV97kLH WOuPG/Z/LMu4Jx40e2mXYXuNlsp8pGN7Mr9cjtCijXBsWURhkgTn1yMVbUCXv+mAsvTj EDc3zwgKi0AfwDX8md+tia3QCxgpDyVEQ39x/fixcn/aqfps8qdjVfFPbBy7fpqpx87m tFfrzz+Gomg3ypUedSrjtmiK3UCI5V2/KEs+Udwqmgj9lHEV33Qbs5PxXO5iP3ETt8vn 4ns2G4yK0bQpMAkRLSgB/LKumhHwl80LtXN9zFUf3Nxj5ZY3O+Bp5C1NWf1RYm7HaWVr 6KTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687794075; x=1690386075; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pfYjtj1R9OBqs+dVmgnQu3/n0GQzqWIXlWSAYyCQgfE=; b=WfaW+MVgVsLlpdFC+L2vafK+Wz7OG6FKqVB/dWeO8SsVuHWbZl7s+3m8mvqXrFakJv 5hUy9/E6wRrCH/DISJPqbixhlHJZhWeMbLA7aqyazIjhW7+hiYBYz3duq7jow0X7WC5x tRX0G/kKvB8NAcKnqlPeh6w9FnVYYRRRIy2y6N/Z195ymN0CADYQEj64t0kZ2R0q/mI9 RgvrCHp2PO3CVGT5ihkAXvLDHTp0wgRFmwM2/JZJtm3y6N50dahsKhXdxcG5Ds+Jf1Sp SWC6vSUhztwwk+E4Z2/4FpoEwMFoSn4IFp+3vj6f8lbjcU8P+uDOplNYbRWaO/ifbDAm 9YwA== X-Gm-Message-State: AC+VfDwcSMHc8XAdunc1aJZQ19J0Akm1ZDKPqr8JxrYH/itG3W+xKbxL xm7I2nIQ4/aKYDF/oq6p/LhfJ6rP/KmMpA0JI28= X-Received: by 2002:a05:651c:207:b0:2b4:7d01:f174 with SMTP id y7-20020a05651c020700b002b47d01f174mr15122288ljn.13.1687794075146; Mon, 26 Jun 2023 08:41:15 -0700 (PDT) MIME-Version: 1.0 References: <20230623225513.2732256-1-dhowells@redhat.com> <20230623225513.2732256-4-dhowells@redhat.com> <3068221.1687788027@warthog.procyon.org.uk> In-Reply-To: <3068221.1687788027@warthog.procyon.org.uk> From: Ilya Dryomov Date: Mon, 26 Jun 2023 17:41:03 +0200 Message-ID: Subject: Re: [PATCH net-next v5 03/16] ceph: Use sendmsg(MSG_SPLICE_PAGES) rather than sendpage To: David Howells Cc: netdev@vger.kernel.org, Alexander Duyck , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , David Ahern , Matthew Wilcox , Jens Axboe , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Xiubo Li , Jeff Layton , ceph-devel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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-kernel@vger.kernel.org On Mon, Jun 26, 2023 at 4:00=E2=80=AFPM David Howells = wrote: > > Ilya Dryomov wrote: > > > Same here... I would suggest that you keep ceph_tcp_sendpage() functio= n > > and make only minimal modifications to avoid regressions. > > This is now committed to net-next. This needs to be dropped from linux-next because both this and especially the other (net/ceph/messenger_v2.c) patch introduce regressions. > I can bring ceph_tcp_sendpage() back into > existence or fix it in place for now if you have a preference. I already mentioned that I would prefer if ceph_tcp_sendpage() was brought back into existence. > > Note that I'm working on patches to rework the libceph transmission path = so > that it isn't dealing with transmitting a single page at a time, but it's= not > ready yet. That is a worthwhile improvement now that sock_sendmsg() can take advantage of multiple pages! It would be pretty invasive though so I think ceph_tcp_sendpage() is better to remain in place until then. Thanks, Ilya