Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4262069pxb; Tue, 10 Nov 2020 11:48:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAYH5kaTAQJQ9IxsTIoS308ojdyH9Dmsq2kGpa5NN91rHdosrdIVmYVN3YRpi+8y1Sqw43 X-Received: by 2002:a17:906:d9ce:: with SMTP id qk14mr21535272ejb.522.1605037694627; Tue, 10 Nov 2020 11:48:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605037694; cv=none; d=google.com; s=arc-20160816; b=rksKnQLAgUDwEba7JcdSLOlbZ4a3jXaflHe7QUCx+NEje1pKGuqwxmBH0nmEtTurQD N4shCG8uK7MEYn7YGECJgGyyTZt/DPkkAAKdBrYcDXIpUvcJu2M8l9k1UOekIT02Wama k25QEVmiWFraUlh8zz4skYyiVzEyvNnT9LSSDM+ha8qufFR4z0Fua1Nzsv9rInw5jKLT hxXhP2TPeFWMDR77h/X4DgXu2E2XZ6v1QxmrRxoRxznqo0BogyD+b2eKteucvLl754+3 eo47f3n8pbuJn+WyqjpvxbKoYLaG4XVHQfapDwEQ41q1cTgUZBLN2I9WAVCPFaZahMAO iBKg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Vjw6CSf6mk2FKxmqB64th38j2MiPmmodQQ84Zm7PvpA=; b=HQK4DXOcJQ5JLyQGMu1tMTKzUvf+D0CBU65lltixIu7Hg9YU/1yyZADFr4/90cLNNi l5hjdelDgxk6bE+tVS+/D4qFT3gGotI6jeMmGCUroUIw7xo9TH8a6IihUmYphPQf+csb FU9Uv0fhvtm0Bh1MIWUmaLywiy1nbnIpd3zuI+BAWMCj4SYI5n+jtmgThHK932EtzsKK CwYzW+oDKxuagI+u2n7idK1onhvyothpPi4kBisy6U9ormBbgkv9O6syMPijtUyFrDpX dVOulxI3Bq0U1AhBshR2rcVlt6QTVb5AF+ep/wslur7/UCNRgosNZ0OUj0W76HTLLaV9 h6NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="x4i/Zs5p"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si10009540ejo.134.2020.11.10.11.47.49; Tue, 10 Nov 2020 11:48:14 -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=@kernel.org header.s=default header.b="x4i/Zs5p"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730894AbgKJTny (ORCPT + 99 others); Tue, 10 Nov 2020 14:43:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:36498 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbgKJTnx (ORCPT ); Tue, 10 Nov 2020 14:43:53 -0500 Received: from sol.localdomain (172-10-235-113.lightspeed.sntcca.sbcglobal.net [172.10.235.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 01B1820639; Tue, 10 Nov 2020 19:43:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605037433; bh=sMQ7Ir3OPkhZYJuV4Vzpb2qOUY0DKBK15rYzfrGaIEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=x4i/Zs5pUHFxZ6aXo3zBSFYOCrWlbTbhTYXg06U8G4o34yFowsuqfCPkDD8uj7cES KZ1XWZ73fsaFBvVFFxe79GmHJc+gbPyubV4PcxjkOrAXWdz+6eO7Szf1hCbTIHqBbL FLwG3W1c+4OTeafCBxRjtksIalZ6ge/OZgcM/QVs= Date: Tue, 10 Nov 2020 11:43:51 -0800 From: Eric Biggers To: Chao Yu Cc: jaegeuk@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH v5 1/2] f2fs: avoid unneeded data copy in f2fs_ioc_move_range() Message-ID: References: <20201110012437.26482-1-yuchao0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201110012437.26482-1-yuchao0@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 10, 2020 at 09:24:36AM +0800, Chao Yu wrote: > Fields in struct f2fs_move_range won't change in f2fs_ioc_move_range(), > let's avoid copying this structure's data to userspace. > > Signed-off-by: Chao Yu > --- Reviewed-by: Eric Biggers