Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1474116ybx; Tue, 5 Nov 2019 17:03:29 -0800 (PST) X-Google-Smtp-Source: APXvYqweQ6etG/pV0Zw1Bj6yP0I9MWEfns1O1deRZ1ZTaci7750C3z3e1wWUb0XuGXt1V/sZbNR5 X-Received: by 2002:a17:906:bb16:: with SMTP id jz22mr11522985ejb.261.1573002209023; Tue, 05 Nov 2019 17:03:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573002209; cv=none; d=google.com; s=arc-20160816; b=jwEoX/hsAWO5onQxPwq7GZ7oNXJaryXZqihTYd+Ink21HV3vXfAEiGBKHQ25vX/Apv s2dyGUZVvzKNOT6Kw0qMWImiSDVQtJn6je0AAND9U/itEkjnosgTBrueRP2kigC2X2pp Nuqkeyu0Qkootj2sot+EkS3OOES2yQnUOauX2f79fAfBCD8hUH6mjS1jW1okcuLpkIes 5TCv69tagFNnqTeuXrevT56IXZGTXqw+SJjonx8Y96f9+0VvrwkuPHWtejbMOjZ2VUsk 0AQfC3/UEKlAskfu8akOr3FwDHAfHAOPG9KmcH60Z+2Ebx23UTZaAAWYwBXcNshRLi7f g1jg== 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=q96RHmkYW850j3FPMhIfLxPpaQlvrC+Nlan8KAK4mKY=; b=IDPg4lSphI7ScqKDOYe7qyv89a3jkklYDZnMVz9FlhxE1870aTSvZTWTbBnWBshzRo UezeZhqyI3aX8W42M9rMIgGAzMbusDZiCO9OtL4HNR1nN2lRfhUNnMc8OQ9TOOME1Ifz Ww0m7dRiZA3cwbOXOws0Pnzl7C01LYNnzdyvyf19iKUJNcpRHH+yIwxZZLMKBTlBnjDv hMtYlcQF9fGd+uwYuL5OhHoLHBoSche5K8tTDxw6J0jH8BQ6ctrS07lqzQgeALJCp5xK NSNePDYxeLW3h4E+xZqqfWWuI/XMbDOGOJDEPQFBL+t/ILOmh8GJ6GlpAQpA1MUp6vJb 5B6g== 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 s22si8217657ejz.245.2019.11.05.17.02.54; Tue, 05 Nov 2019 17:03:29 -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 S1730573AbfKFA7c (ORCPT + 99 others); Tue, 5 Nov 2019 19:59:32 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:56570 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728810AbfKFA7c (ORCPT ); Tue, 5 Nov 2019 19:59:32 -0500 Received: from callcc.thunk.org (ip-12-2-52-196.nyc.us.northamericancoax.com [196.52.2.12]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id xA60xLbU019786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 5 Nov 2019 19:59:23 -0500 Received: by callcc.thunk.org (Postfix, from userid 15806) id 31551420311; Tue, 5 Nov 2019 19:59:19 -0500 (EST) Date: Tue, 5 Nov 2019 19:59:19 -0500 From: "Theodore Y. Ts'o" To: Matthew Bobrowski Cc: Jan Kara , adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, riteshh@linux.ibm.com Subject: Re: [PATCH v7 11/11] ext4: introduce direct I/O write using iomap infrastructure Message-ID: <20191106005919.GE26959@mit.edu> References: <20191105135932.GN22379@quack2.suse.cz> <20191105203158.GA1739@bobrowski> <20191105205303.GA26959@mit.edu> <20191105210043.GC1739@bobrowski> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191105210043.GC1739@bobrowski> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Nov 06, 2019 at 08:00:44AM +1100, Matthew Bobrowski wrote: > On Tue, Nov 05, 2019 at 03:53:03PM -0500, Theodore Y. Ts'o wrote: > > On Wed, Nov 06, 2019 at 07:32:00AM +1100, Matthew Bobrowski wrote: > > > > Otherwise you would write out and invalidate too much AFAICT - the 'offset' > > > > is position just before we fall back to buffered IO. Otherwise this hunk > > > > looks good to me. > > > > > > Er, yes. That's right, it should rather be 'err' instead or else we > > > would write/invalidate too much. I actually had this originally, but I > > > must've muddled it up while rewriting this patch on my other computer. > > > > > > Thanks for picking that up! > > > > I can fix that up in my tree, unless there are any other changes that > > we need to make. > > If you could, that would be super awesome as I don't really see > anything else changing in this series. I'll probably send through some > minor optimisations/refactoring cleanups after this series lands, but > that can come at a later point. Done. I've just pushed out the ext4.git tree, with both the master branch (which should never rewind) and the dev branch (which can rewind) advanced to include this patch series. Many thanks for your work on this patch series! - Ted