Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1803832ybv; Fri, 21 Feb 2020 03:48:10 -0800 (PST) X-Google-Smtp-Source: APXvYqymUPyz5AELJ8X8scW1A65BlHVA2iWz8JaoUTS63zAJW+ivtEgN+rzVQRa4QPX2ZjSrn3hT X-Received: by 2002:a05:6830:16d8:: with SMTP id l24mr27958827otr.268.1582285690147; Fri, 21 Feb 2020 03:48:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582285690; cv=none; d=google.com; s=arc-20160816; b=y4yF49t1Nw4a5w9+mPMXLkvDVfKGqT3NCKjDdna/W0xUlvSMuThNrcPJhQ3jBW4ynK s71YFUyQxx30O+UwJZk7Jx3rJPF2mhEpPHRMPWKM/r3FceKoBV+ldE5P8z8gLtEH4EZA b5DYHI2mVrsmqcQm58eNDhfTL9wfZcit3jyMy1ML4yjWZKfubr/M1OuiK9F/0qEdRllz M6FhUfGU+uQ350q80s/O2VsxhdQcdt+8H4nJMT58QPQqYJ5Sx3DNqdQ+yt6NC2R2KOnE F2qnU5rNgONpKlcpHHvPM/1ah3UfJX9LI2g6SkalOWgV34nwnG3Btv0+CjqJKpTXLeKw nxIg== 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=PC7oOn7yo6M6wbWnRwiY8bAiIHiut3D7+D5hSWV5Mik=; b=iWCuVNP+OB6/sbWpgfP6aPsplzghTMwEmT9F/1sXkti6he1L61JVGnXGCOfKv7H6fh u5hTE+UK1qXNxUHz8EIgmTRpXJureeqnEKT5YQRQQdDdSgug+WWg5TTmHDcYQPFHqqDB fjFtideg97kstmwINahg4bxjl+0ejt0JVH7N0HYywEB3T6Rbvjeh3Eg4t0tvXcWA+k7M vBP+3la9s94CVX16x9GWnef5yZpjI1s1iLaMnmHMuenrSJDMSK8QqB8zduZLZaNwW+4G UphIFvezHubCQDUjmesQk6p2WUDE5N7R6IJPPq4CNQDwpdNVJYz7+KjjPVHSqhSHIoox ThrA== 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 q9si667481oif.92.2020.02.21.03.47.47; Fri, 21 Feb 2020 03:48:10 -0800 (PST) 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 S1728107AbgBULrN (ORCPT + 99 others); Fri, 21 Feb 2020 06:47:13 -0500 Received: from mx2.suse.de ([195.135.220.15]:60680 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726989AbgBULrM (ORCPT ); Fri, 21 Feb 2020 06:47:12 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 42F4DACF2; Fri, 21 Feb 2020 11:47:10 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id C690C1E0BAE; Fri, 21 Feb 2020 12:47:09 +0100 (CET) Date: Fri, 21 Feb 2020 12:47:09 +0100 From: Jan Kara To: Ritesh Harjani Cc: Christoph Hellwig , Jan Kara , tytso@mit.edu, "Darrick J. Wong" , adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, cmaiolino@redhat.com Subject: Re: [RFCv2 0/4] ext4: bmap & fiemap conversion to use iomap Message-ID: <20200221114709.GB27165@quack2.suse.cz> References: <20200130160018.GC3445353@magnolia> <20200205124750.AE9DDA404D@d06av23.portsmouth.uk.ibm.com> <20200205155733.GH6874@magnolia> <20200206052619.D4BBCA405F@b06wcsmtp001.portsmouth.uk.ibm.com> <20200206102254.GK14001@quack2.suse.cz> <20200220170304.80C3E52051@d06av21.portsmouth.uk.ibm.com> <20200220170953.GA11221@infradead.org> <20200221041644.53A9852052@d06av21.portsmouth.uk.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200221041644.53A9852052@d06av21.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 Fri 21-02-20 09:46:43, Ritesh Harjani wrote: > > > On 2/20/20 10:39 PM, Christoph Hellwig wrote: > > On Thu, Feb 20, 2020 at 10:33:03PM +0530, Ritesh Harjani wrote: > > > So I was making some changes along the above lines and I think we can take > > > below approach for filesystem which could determine the > > > _EXTENT_LAST relatively easily and for cases if it cannot > > > as Jan also mentioned we could keep the current behavior as is and let > > > iomap core decide the last disk extent. > > > > Well, given that _EXTENT_LAST never worked properly on any file system > > since it was added this actually changes behavior and could break > > existing users. I'd rather update the documentation to match reality > > rather than writing a lot of code for a feature no one obviously cared > > about for years. > > Well I agree to this. Since either ways the _EXTENT_LAST has never worked > properly or in the same manner across different filesystems. > In ext4 itself it works differently for extent v/s non-extent based FS. > So updating the documentation would be a right way to go from here. > > Ted/Jan - do you agree here:- > Shall we move ahead with this patch series in converting ext4_fiemap to > use iomap APIs, without worrying about how _EXTENT_LAST is being set via > iomap core code? Yes, I'd go ahead with the conversion and don't really bother with backward compatibility here. In the unlikely case someone comes with a real breakage this causes, we can always think about how to fix this. Honza -- Jan Kara SUSE Labs, CR