Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6897279ybp; Wed, 16 Oct 2019 00:13:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzA2Ewg6RQQFT5NHyQESzpZZflW0tNuo7LcJlhP9Ax5hVwbnLVp/OnpTAd69pi6Zcwh+BDK X-Received: by 2002:a17:906:5407:: with SMTP id q7mr39261037ejo.24.1571209986071; Wed, 16 Oct 2019 00:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571209986; cv=none; d=google.com; s=arc-20160816; b=1Hfw3+xK7xeCqT4a5QCqz10JU79e3MUc8Y2ehXbiQIWOqGi6UGUWMREx0w7vZ+ZQOP nrkCgHNSV2vZHvhXhXgUtE9aHeQkgfzFf2/sYD4VnXOTnRS8MFN8yvUw17BoM4DA3cAu bt1KgmfMbjYMsXVO0pgQHRKGIujX5HhNdS05JM3wKefIg1QCV+uNAJ4IEI4zoyE1sokv k0YEgxc5M/VRU9zNXIebSxo6EN3k/1p17lfP23jIflYL2tgl8CVi2D7/68wZqwnKLsaY F0Nk8nfKHijmJ2bYy7YzcaW0/OvPDEE13yeOROU89wzKLppCDSN4mrSrYaPtupyp7Jx7 p12g== 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=5unJUPc6qgk5yISRp7nG1GNS8OZC2zx9pqKNde3WAm0=; b=w+boQT7Bt/fluAaLlwslcq4k6yh2qSt2LQuLmUVkZJZ1nT/QIszumyZLPtbRNLgznr S2QVo/2Uy48RHVqHZOxayN21jxR13W3gWsJUml181xkddT06DNYn28735EoLEGSZ8XGQ 4T77xu05BOEqGdBtFd02BaI0+GnBlu42IO2CjAiN3ExUzvCSNguhl0tv572cclJXvyAR kETk0wDslrVmsxxirbtO5ON6H+zJ/vewAN+X8Ci45Z8DeioBc8GKcdSe56ieNbfjnM4Q S6pyeyIuYaRRiqoyyEjraPvr94HHg6AVN8RnBsjl3tPRrxJqW0g61F7sYScrv7Nvld0C ZYrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 w20si16140888edc.202.2019.10.16.00.12.42; Wed, 16 Oct 2019 00:13:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729128AbfJOVco (ORCPT + 99 others); Tue, 15 Oct 2019 17:32:44 -0400 Received: from mail105.syd.optusnet.com.au ([211.29.132.249]:35251 "EHLO mail105.syd.optusnet.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726935AbfJOVco (ORCPT ); Tue, 15 Oct 2019 17:32:44 -0400 Received: from dread.disaster.area (pa49-181-198-88.pa.nsw.optusnet.com.au [49.181.198.88]) by mail105.syd.optusnet.com.au (Postfix) with ESMTPS id 11F4C362AF7; Wed, 16 Oct 2019 08:32:42 +1100 (AEDT) Received: from dave by dread.disaster.area with local (Exim 4.92.2) (envelope-from ) id 1iKUQr-0000ov-J3; Wed, 16 Oct 2019 08:32:41 +1100 Date: Wed, 16 Oct 2019 08:32:41 +1100 From: Dave Chinner To: Christoph Hellwig Cc: "Darrick J . Wong" , Damien Le Moal , Andreas Gruenbacher , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 07/12] iomap: zero newly allocated mapped blocks Message-ID: <20191015213241.GA16973@dread.disaster.area> References: <20191015154345.13052-1-hch@lst.de> <20191015154345.13052-8-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015154345.13052-8-hch@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.2 cv=FNpr/6gs c=1 sm=1 tr=0 a=ocld+OpnWJCUTqzFQA3oTA==:117 a=ocld+OpnWJCUTqzFQA3oTA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=XobE76Q3jBoA:10 a=yPCof4ZbAAAA:8 a=20KFwNOVAAAA:8 a=7-415B0cAAAA:8 a=JuDxSlhT3OO6blO4plAA:9 a=CjuIK1q_8ugA:10 a=biEYGPWJfzWAr4FL6Ov7:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 15, 2019 at 05:43:40PM +0200, Christoph Hellwig wrote: > File systems like gfs2 don't support delayed allocations or unwritten > extents and thus allocate normal mapped blocks to fill holes. To > cover the case of such file systems allocating new blocks to fill holes > also zero out mapped blocks with the new flag. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Darrick J. Wong Sensible. Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com