Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp897598ybv; Thu, 20 Feb 2020 09:11:32 -0800 (PST) X-Google-Smtp-Source: APXvYqzJ700fpzYWYXa27tWOkEAL0rxWPgFQhdazfFW5auuL4GBok8PJrRGy3qct7p9rEJuhzKqR X-Received: by 2002:a05:6830:4cd:: with SMTP id s13mr23864216otd.181.1582218691919; Thu, 20 Feb 2020 09:11:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582218691; cv=none; d=google.com; s=arc-20160816; b=XJu6SAGmxeODAQrMUVMOn2kPgxmErI/4swuupFpAgi5hDdgj/D4+1yFGZTSvAp1fYh i+Z+8ukuLDkjpxZ7UhKGEixblNidmg2LSfTaciFHABySMKhapBRSyXgeT9WP4geae/tK E0HcLhxhSbwOF6p9AJ821c+ejSX+3SsWE/e1pT1SVUf9gZWargA7XCVKtoaecJphYVHH osj1OdIMRcu+FvQ/CTGJe6zffuE3pg1UbgwE/A1/UsPq+lj1/l92rz4wXryucJ65O/U5 f25upKRz38ktnk6oAza/q4YNY0kczszE5Mc6lpglslVdCafWFEkb8cY+4oeMJ3oLdI7y IY5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Z5evHnyRyXOCbcZF533zb10Dy1PCcLpiWvdEXqQf2Rw=; b=zPgUh06mPRZpYmIVQ9YuLtXZwifAF20wTpEJBVBLjPY0jLWJSjpMfx973e6ltMeMW8 I0YK0m1Rdjl+xpUwOkhorTG6qhAHito1qsDPkm7HozA+JbJoLmy6P8o5XrDVk2FqC/d2 u7iDU3rcdtC3+hHlQ67ZRmfnPOnUlP5lT5OIoCrIAg8haQ+LQTpf0fU/AlTqAk2+WTqH lUbdJYz6PdOs0GcfcqPz4cBIpG8krCkLkbzG9d48DgFZE+CrI5G7s2qe3ZUQ7UG6rzPc na3oVUILzcr3yAM4C/JZ/2+BkPH9BR4Vb7KCjPo6SbIpGIKHlsb0ut1MFwRVqnvnzp8z dBZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=GsDcOSs+; 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 o4si675otp.200.2020.02.20.09.11.18; Thu, 20 Feb 2020 09:11:31 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=GsDcOSs+; 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 S1728217AbgBTRJ6 (ORCPT + 99 others); Thu, 20 Feb 2020 12:09:58 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:41228 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728173AbgBTRJ5 (ORCPT ); Thu, 20 Feb 2020 12:09:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Z5evHnyRyXOCbcZF533zb10Dy1PCcLpiWvdEXqQf2Rw=; b=GsDcOSs+fxjgzm1n8eT9tSajrR gHDFxhUdt0YA7MRWhW/IDERkWNTvNIBpoftja/F4p9WHvuXYQCKMcA8HE7tQ/R0Xe4ciCl6rjHgPZ VTdJ5qya7FlldhQ5nN1RDElvkAPoLvVANGhpb3rVSWct9wywWPAvudjdgR0lZlxJ/Oea8uUvuF3Ui 9nDOdTi27q+i1SUL/cxFuqlXny6fm3Fb+yN+xtmFG4mFIzt5OWWZhEhlLjvMQ0RANsMd8fi92PNf/ S2aWrJkDu8M4IMj26v48alpS22yFW9mXsSMQ8Oku5vxP2rZNCtCzjByOVRtl8he6iC+fdqDlwVzPM I2IaJGzA==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1j4pKj-0003TN-72; Thu, 20 Feb 2020 17:09:53 +0000 Date: Thu, 20 Feb 2020 09:09:53 -0800 From: Christoph Hellwig To: Ritesh Harjani Cc: Jan Kara , "Darrick J. Wong" , tytso@mit.edu, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, hch@infradead.org, cmaiolino@redhat.com Subject: Re: [RFCv2 0/4] ext4: bmap & fiemap conversion to use iomap Message-ID: <20200220170953.GA11221@infradead.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200220170304.80C3E52051@d06av21.portsmouth.uk.ibm.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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.