Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp616728ybg; Wed, 23 Oct 2019 03:16:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGGlVJG4h40C1tJH1ukyI+6f3gpBrAC/39e0KA9wQ0c9E2orbMiZO6Ud2H6D483hzaAJV5 X-Received: by 2002:a50:ace1:: with SMTP id x88mr36513054edc.132.1571825790700; Wed, 23 Oct 2019 03:16:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571825790; cv=none; d=google.com; s=arc-20160816; b=JnuhgI+j5dJLHNgexQc2FOf2UUZimIRRH/pszsK6bBs1xd5oHIy7ScLVV3aDcuVPtZ TW009FI8bqY4i2xYI2icl3Rf1W6aZJPf9RwivrsIoyF3MfyzbsZYztlOTMWPuoOylMC2 qc8Zey0yNvoBvxmcf3orHsOtlmjqDOABbsISeJc8ax1jJ746fgxpKbc2CLD5TJro4EcI i1chVdQM3PJWe5XBqrpQA+gcRDU4oSzdkRsassolwzWP6B2a0uMdOa7MoZeFMS969FHO JDFeZ4wGbAs58q+AQlObOkUIa3RW6Gx/giuqcoo7UbFPbhrgyNzJgzTMkv0G4XQFfchC rVqg== 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:dkim-signature; bh=hESAzTzUhDJYzksaOkjM7hZkMI+UHgjldrQJvCm8mlk=; b=ILBe/A0ridDvvSgKHleFec3z5aTbvkeKgSHH7ANqe4lE8tycQj/3UloCGmt/j5/auX ldF9gIV7D7TXFcGzdbDoja402pg9zFEzvKOBK3qXXeb0hfjZXB/ilm+blidBPcMTrqda DSCg4Qk4Y2I1BV/TXj60UW1Yq+zVM3Vf1KT8tqAQi8IoLtungLbqVJ5XWtjCsA5/QzJq Onbj33TWAaQZ1cV9cUYvbGL/ULexenN09u8spH17NI3FlpwqiFM5ITk/ljuVATX+tgMQ ZCwjfo8eMPrt7tMEyYZhNN/MCrPeNunVay/0wMQZ8jFlWoYZoPSlPyCAg8GliWtm834P isOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mbobrowski-org.20150623.gappssmtp.com header.s=20150623 header.b=p4P3kA0z; 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 x4si3371068eju.197.2019.10.23.03.16.06; Wed, 23 Oct 2019 03:16:30 -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; dkim=pass header.i=@mbobrowski-org.20150623.gappssmtp.com header.s=20150623 header.b=p4P3kA0z; 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 S2391068AbfJWKPA (ORCPT + 99 others); Wed, 23 Oct 2019 06:15:00 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:34224 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390977AbfJWKPA (ORCPT ); Wed, 23 Oct 2019 06:15:00 -0400 Received: by mail-pf1-f194.google.com with SMTP id b128so12653613pfa.1 for ; Wed, 23 Oct 2019 03:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mbobrowski-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hESAzTzUhDJYzksaOkjM7hZkMI+UHgjldrQJvCm8mlk=; b=p4P3kA0z50+ygpLpC3dpr9ayiMpPGa5MTYwdH6ga8VozgqUC/Fd211GhSGKGinjyDH 4QLdt8uPScbKKksSPKel5GsgaAQfunW1iGt3E91wRqol54RCZYzZs9WJp7oHS8hfulNU kG6x9j/UMcBZGEH2WYoztAGdnk7J2i8EofQg0zol/lpWMEy566IYZ9E1+/Iq6V4EBuXt OGa/L2Brd4QTozc/GinEkmS3du2tt7Jl329zAPlZ71dT28ThhV/Ag+BkQow6qB1RSBfV WYtHiWhHIKoz2/JspYw4qywWoTtwacdiHc7xRESc2eW24nag/cdTozI6O4YQG7KQMO4m h9vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hESAzTzUhDJYzksaOkjM7hZkMI+UHgjldrQJvCm8mlk=; b=WoDL8vXel0M1UDCn4OnqfQll60bWVXp+JW3bCdafg/rAR+02kJWjU4TGXJOb3R9gAv CcuUMtnX7sZmhYAnBUh91p16VyB12uDL+MOIWGlMPkNKHU7ACHiWBVvJct6p+GiF87Rk 6f5EfKe1CpIFOscL2OOZFenVbxN9qxl4KANRUc1IzBb4ydxVDf3x5e5R13y/w06HEUc2 7BhgGZb7pO7D4nfXsmmkjPSABqvLMiT+Q5fUPd9zYCvmx6yDJAuftyijTCyDw8EucnpP mh1WJ1XiTDfnv17fgRKpCws6PVz3F++sON3g9xIfeCy+eneMFfniOfjk9oBeHjPV3NH1 WNdg== X-Gm-Message-State: APjAAAVvUBsiA4mB24aTjzOYMDyWNmjcAMeSH8AUKDO1Ndn+pManu02n qOb8z9TgGsm3/ehU5CC02kzM X-Received: by 2002:a63:6782:: with SMTP id b124mr9350617pgc.220.1571825699329; Wed, 23 Oct 2019 03:14:59 -0700 (PDT) Received: from bobrowski ([110.232.114.101]) by smtp.gmail.com with ESMTPSA id v35sm29340414pgn.89.2019.10.23.03.14.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 03:14:58 -0700 (PDT) Date: Wed, 23 Oct 2019 21:14:52 +1100 From: Matthew Bobrowski To: Ritesh Harjani 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: <20191023101452.GB6725@bobrowski> References: <7dd1a1a895fd7e55c659b10bba16976faab4cd85.1571647178.git.mbobrowski@mbobrowski.org> <20191023063152.EEE024C050@d06av22.portsmouth.uk.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191023063152.EEE024C050@d06av22.portsmouth.uk.ibm.com> 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 Wed, Oct 23, 2019 at 12:01:51PM +0530, Ritesh Harjani wrote: > > > On 10/21/19 2:47 PM, 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 > > Could you please re-arrange patch sequence in this fashion. > > 1. Patch-11 (re-ordering of unwritten flags) > 2. Patch-8 (trylock in IOCB_NOWAIT cases) > 3. Patch-2 (should explain offset & len in this patch) > 4. Patch-1 (this patch). No objections to this. Just needing to do a little shuffle here and there. > This is so that some of these are anyway fixes or refactoring > which can be picked up easily, either for backporting or > sometimes this helps in getting some of the patches in, if the patch > series gets bigger. > Also others (like me) can also pick some of these changes then to meet > their dependency. :) Sure, thanks for educating me and making me aware of this. > This patch looks good to me. You may add: > > Reviewed-by: Ritesh Harjani Thanks Ritesh! ----