Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp6346390pxb; Mon, 8 Nov 2021 07:10:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzIm1aJh4WfXEcO+U04GRB1FRFwiQy+bQqDQa8rUhQMMwNXrvjOHN981vmlqi/87V9Jndtz X-Received: by 2002:a17:906:1450:: with SMTP id q16mr605284ejc.213.1636384221531; Mon, 08 Nov 2021 07:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636384221; cv=none; d=google.com; s=arc-20160816; b=xAN4829zNY8ZuvVymXxr2OYposTker8XMxgaZmKaia0muqs1Y3vpl+PwCZc0FM2G3i J3VgGotetmA5GIJXEcJo9WSqFN+sWHUORS83shkR29XPzEpEpRChkDI32NGZkHcElIPz lD6JFWgmF7lBSzPjhXjFOmlekpCtVc0u8t3eZJBT7mlbF2Cto6RrhulOPpXtfmwBXFeT NZLUrkAMeT4/bqE5LO3WMc7px1nIWAA3jx7JlhI37HSpwkYyhYtdMb63/uRWiIWg2doC S8WGyjATrtD/IRCR34GM02Tn43pReS94Kp+0rxp18TGBB53rgZFs9K5WSnsOj1TQx1EU +thw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=iDx/7CZzaNjjmDk2+R38qaxkMccCMaHTReVGhyqWZSE=; b=1JnIrYd4I61MEMTjv4+fy/bL+GfkzdEoHuntGYaXhqD88z4uyfG5eVYub2FEfNNXrq wZZrzXAfaSVXrFxt6JuVX9fVva67C+PlYcMVdIm0tebWPA/jlDpCwQzTmPCTTza/1MZi 0Z9s0COtenyE172I5YKzSbpSt1llA4wk5G50SAXOv2632DscqbZ6UQOMFd8fRSyAFOQW O78Qpac8R7/ezwONLx3NoNrzG2VqCm9IlpPo9/4txj+HAOE24EN5Pvaz1GUs9FRq5Ta3 8p7uZ0P0+XlKR9ati00HTr/rXn5SAlNcL/ng1Sbn54HpKMmS43XlN7xhRHXiWOp1VkFB xqAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ygSpyIPE; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si24329031ejq.397.2021.11.08.07.09.56; Mon, 08 Nov 2021 07:10:21 -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=@suse.de header.s=susede2_rsa header.b=ygSpyIPE; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238105AbhKHKd2 (ORCPT + 99 others); Mon, 8 Nov 2021 05:33:28 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:38812 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237988AbhKHKd1 (ORCPT ); Mon, 8 Nov 2021 05:33:27 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B90301FD72; Mon, 8 Nov 2021 10:30:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1636367442; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iDx/7CZzaNjjmDk2+R38qaxkMccCMaHTReVGhyqWZSE=; b=ygSpyIPEsiLhF8WUcTaA/aYmJaD63/CAoA5F1HiPHBnDDqcxg68Ea39urJXTWTRXaxGv47 fednNjw3krfvEODDYrfY83JYNb3q19yLeIQTuAez8MWeEDY2P+unj27KGtJGFBBGreHVB3 967sbirQyToTGX868zg8S6nLnWjAUjA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1636367442; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iDx/7CZzaNjjmDk2+R38qaxkMccCMaHTReVGhyqWZSE=; b=in7NEiKJYqEvgU59TNgkTd65gEkWZMNUJpRxLZHzEyeSC1SEyw6ev/cde3plRRwkd4GVcX +QD1VkQsdqOPolBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3C1CF13B37; Mon, 8 Nov 2021 10:30:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 24zIC1L8iGESHwAAMHmgww (envelope-from ); Mon, 08 Nov 2021 10:30:42 +0000 Received: from localhost (brahms [local]) by brahms (OpenSMTPD) with ESMTPA id 1495a6f8; Mon, 8 Nov 2021 10:30:41 +0000 (UTC) Date: Mon, 8 Nov 2021 10:30:41 +0000 From: =?iso-8859-1?Q?Lu=EDs?= Henriques To: Ilya Dryomov Cc: Jeff Layton , Xiubo Li , Patrick Donnelly , Ceph Development , LKML Subject: Re: [PATCH v2 1/2] ceph: libceph: move ceph_osdc_copy_from() into cephfs code Message-ID: References: <20211104123147.1632-1-lhenriques@suse.de> <20211104123147.1632-2-lhenriques@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ilya, On Mon, Nov 08, 2021 at 04:46:40AM +0100, Ilya Dryomov wrote: > On Thu, Nov 4, 2021 at 1:31 PM Lu?s Henriques wrote: > > > > 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 need > > (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. Dropping that sentence seems the right thing to do. I've just checked the 'testing' branch and the changelog looks good to me. Thanks! Cheers, -- Lu?s