Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4266236ybg; Mon, 21 Oct 2019 06:26:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYLaqOahrLmSiUyEloNDjmUW5DhTBFpgv2sB7LZawZpXwxyG4ip/S4rEVFmXfEtI4Z0Nzt X-Received: by 2002:a17:907:39b:: with SMTP id ss27mr21454860ejb.151.1571664410868; Mon, 21 Oct 2019 06:26:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571664410; cv=none; d=google.com; s=arc-20160816; b=sWClwkYSrzH+RRTYITfrVT8Ofm8Us7+sM+xHSmKozVXIfvrmmrZQ3LKClWKLcsS+FV j8kN+nSaYY7yrXiYafOEZHdUP99LQZmY3EfIqRD9rzpeTAhlLamUu68xmiDX7s3aIam/ RPB59N98VjRkJEjEaWhzG0+fVKlTwXb/6EYiLImAtxrEGMuWd5VAfYUINykEEPV4M6VF 80lL3k2j7nZRBSUFSBx5RukQZ2y56n++woGdefapoK4ftskjgGjP36SacnkpxddGBPp9 9lDvdwdfSf47DAZfj2X693g1qBJHsquKYyNCX+ujBF0AxJF7tZDqICTifOOtom9iFtzP uSBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=am3bGB1RYIF2ZbwhJjDQjSD0TstlhYcmHmwggNLXPfA=; b=xMECeTCm+5RLA6FjLbfv8HZh7+er1y1VmSN4rtYMWH6+i0vJj3PaIIF3UxF3+7/Llf 3v/7MyME7o/hykHVc2yFj2PnjVZWNm0e0bF4DmNNT3BtsM9Em7OD26DrfPwA7Oogn5sz tllpDfNtX5O/m9uOiRmfOPJCL4GCJICRYRz+im3hOS7r1Gn3HkP8gXxiWOpqyhI/QDRD Iu0lmTe7srOXISq5TYvm8WrEoK28XHQJj2GaQgObsP+qa4SpGOOVnYlXD9L72PpWK1bi h9s6PptN9AocKwA5SDcE4rm/ca0/8FllnM4iIEo+mtEEZ8Hje7mpoDyRRCN4uohcpS11 9wqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay2si9168014edb.343.2019.10.21.06.26.20; Mon, 21 Oct 2019 06:26:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728842AbfJUNXu (ORCPT + 99 others); Mon, 21 Oct 2019 09:23:50 -0400 Received: from mx2.suse.de ([195.135.220.15]:48352 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727256AbfJUNXt (ORCPT ); Mon, 21 Oct 2019 09:23:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id EC95BB47D; Mon, 21 Oct 2019 13:23:47 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 0FDB51E4AA0; Mon, 21 Oct 2019 15:23:47 +0200 (CEST) Date: Mon, 21 Oct 2019 15:23:47 +0200 From: Jan Kara To: Matthew Bobrowski Cc: tytso@mit.edu, jack@suse.cz, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, hch@infradead.org, david@fromorbit.com, darrick.wong@oracle.com Subject: Re: [PATCH v5 01/12] ext4: move set iomap routines into separate helper ext4_set_iomap() Message-ID: <20191021132347.GA25184@quack2.suse.cz> References: <7dd1a1a895fd7e55c659b10bba16976faab4cd85.1571647178.git.mbobrowski@mbobrowski.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7dd1a1a895fd7e55c659b10bba16976faab4cd85.1571647178.git.mbobrowski@mbobrowski.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Mon 21-10-19 20:17:31, Matthew Bobrowski wrote: > Separate the iomap field population chunk of code that is currently > within ext4_iomap_begin() into a new helper called > ext4_set_iomap(). The intent of this function is self explanatory, > however the rationale behind doing so is to also reduce the overall > clutter that we currently have within the ext4_iomap_begin() callback. > > Signed-off-by: Matthew Bobrowski > --- > fs/ext4/inode.c | 59 +++++++++++++++++++++++++++---------------------- > 1 file changed, 33 insertions(+), 26 deletions(-) The patch looks good to me. Feel free to add: Reviewed-by: Jan Kara Honza -- Jan Kara SUSE Labs, CR