Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5911646pxb; Sun, 7 Nov 2021 23:31:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwE05A2GFhIHPKJjm/OT+Rxyob3lT0g+On8JccFqJJqEyTolGzX5ruYDqTMuvkT+yBnV34b X-Received: by 2002:a17:906:1396:: with SMTP id f22mr52229094ejc.228.1636356672050; Sun, 07 Nov 2021 23:31:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636356672; cv=none; d=google.com; s=arc-20160816; b=ALp1pg7JchbO3n9mrkw+HHX9KdMCLwbRIIGrrXO4iXufxdiOcsTYprLnVMUJrbLWAw uFrln4S1FL6U+dSKxBXoWXP86PTmRB9iEKD/YbYhx5TiIPJQjUI5iQpbHRHTt10W+yLe 3gHdVdMHEx1xBGGrLxTViqkx6I+NBvPp++3PdHIw0ndKCrMd6HkQCQwWZWZKUCPIMffC cAfzbKzu7RvMbMEuNuhchTShUA12NhdUWxe1gPXwM4MFqs2lMR051nm2RaIcbcCH+T4t icSDV1SH8HojYXYIxUUEMTR3Q2DjhDwYzD3CoG49qXP262D1eAwD2i0LBciDJ8pkzOZQ Sh+A== 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=9nBWp9x5Rv8RULMTkkYNHSeR8IARMsDNq5Ic4+DBrJM=; b=PyL1CHInx7bzrK8skoypYndMYXqYv5LDajMPskStfy7WQnEZxz92ceQoL4k/AKGB6+ VacqP9oGX+qxLca0d7VJhlBUQSfVb0G4qe5vfObQUdqF0Zcka+6sbafsuvBShatWHtxQ sZj2jJVI7JAuyoQ4sheJWqG2uJSVfPrzaeUnjLfM/j1UpGzZKe4e5hX2fecsjYlYZWcQ V0PTPxM/SuOdl2/aw8PmY/DU9GXEInpZhPcJzZeIHqrOI6eM9UgvC/Rewi+fbppQeRtS 0es7nXNGFPTmc2x+f2zIkll3jZi0mINmS+iJHPtYt63WJUS1mxyQfkshRTE5K+JRPSfe pCpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="XSw/+dEI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si8080019ejm.659.2021.11.07.23.30.48; Sun, 07 Nov 2021 23:31:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20210112 header.b="XSw/+dEI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S237257AbhKHDte (ORCPT + 99 others); Sun, 7 Nov 2021 22:49:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234035AbhKHDtd (ORCPT ); Sun, 7 Nov 2021 22:49:33 -0500 Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5635EC061570; Sun, 7 Nov 2021 19:46:50 -0800 (PST) Received: by mail-ua1-x92e.google.com with SMTP id l43so28892977uad.4; Sun, 07 Nov 2021 19:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=9nBWp9x5Rv8RULMTkkYNHSeR8IARMsDNq5Ic4+DBrJM=; b=XSw/+dEIxpypUSQo/Vl2b7kVjoRJIxiMWBFon+C6mZa5JyBApUL1XotT5wFTpiGTnC 491wis+FxrkelC0D5DEMexNclbYGapggBMA0sTF3E9cb++lwQU4cMUrfoCY+DzxYvFIi +z38vfGXL9Elh4Oe+RzQwXXqtwvTOZuvvZ7RO84EHSrmxBx7bKUy1unEPAomMRF8V3H7 S23hXJYxEvvIvsXTzdTww5KophSz/jvaTqJug8YAveb69GBK2Y7+WOLwRLh4M7f7s4Ou tezplb9rEW0WTCwH4eQSv5RrB0GXaSqqRvn+PbBsYbg9Pw8ZxhbQDn4tTdOs36Dvzkj2 WwdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=9nBWp9x5Rv8RULMTkkYNHSeR8IARMsDNq5Ic4+DBrJM=; b=KCEQIdDVBgpWzoY3kkJyl/+udDP8gfo+/HTkn1g9hDlOEl2+vAV67kFdjYTha/dqzO nA8duGItET4Ap3Hquh+gS4/7urSIfZYD1btUWz9fun3ZtHQC2uSWnFuQWHFMBOOu65RO GNXzlq7XEZjYM/k8UbYCHbj0sJPKOfF6i4d7m7P8BZLPrTJyuKp5QOgMuUmtFvZ4+9kh wz+3nmWatFPFfUNGqWegNIfSqmwz22Ihhl/8K7uZeQumq1encYR/Xi5oiqtfB0a7kqqu vMos+i+9ZwFTpQ7XU7BkjIvjaCNfIIz/tDze19eHcijpc+r/knAxTzwU7pDgxcmoa2FP tzNQ== X-Gm-Message-State: AOAM530P6ZsI/QpwwzC3YWCYhfoFQkSSbg5a1HOBg1Cj3Rnp94tL7uvJ /e+cnqZsf0op/e9oCnbOBOZvcXPNrDYqytuTKLs= X-Received: by 2002:a67:e003:: with SMTP id c3mr7887950vsl.51.1636343209149; Sun, 07 Nov 2021 19:46:49 -0800 (PST) MIME-Version: 1.0 References: <20211104123147.1632-1-lhenriques@suse.de> <20211104123147.1632-2-lhenriques@suse.de> In-Reply-To: <20211104123147.1632-2-lhenriques@suse.de> From: Ilya Dryomov Date: Mon, 8 Nov 2021 04:46:40 +0100 Message-ID: Subject: Re: [PATCH v2 1/2] ceph: libceph: move ceph_osdc_copy_from() into cephfs code To: =?UTF-8?Q?Lu=C3=ADs_Henriques?= Cc: Jeff Layton , Xiubo Li , Patrick Donnelly , Ceph Development , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 4, 2021 at 1:31 PM Lu=C3=ADs Henriques wro= te: > > This patch moves ceph_osdc_copy_from() function out of libceph code into > cephfs. There are no other users for this function, and there is the nee= d > (in another patch) to access internal ceph_osd_request struct members. > Thus, instead of changing ceph_osdc_copy_from() to return the request, > simply move it where it is needed. Hi Luis, ceph_alloc_copyfrom_request() does exactly that -- returns the request. I have dropped this sentence from the changelog but wanted to check if you meant to keep the change instead of just moving and renaming. Thanks, Ilya