Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6895600ybp; Wed, 16 Oct 2019 00:11:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhf9sYt/oJQrRpyV3H1fR/T0BwNTi+zZsmDY2u7ivY3eCGPg7wR5oOrwt4ledL5nj2WnyY X-Received: by 2002:a17:906:b318:: with SMTP id n24mr37521222ejz.248.1571209871481; Wed, 16 Oct 2019 00:11:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571209871; cv=none; d=google.com; s=arc-20160816; b=Ji4C1gLr16F+uQ7hSOm8gLzoPEu30VcDc8AO4pUzp9eUtnq+zO/DCa4XFH/KLdt0f8 KDJly1L4GE7FY7SuVkJUI14Y6PWnNtYupU1KsEtoFPLgD5KutHiVRKr82UvqeQzRNHIJ E4st9ebkmU72zscNM6jInmFTDCAYCEteOEEgsKqw6AfGYlvOLO/k7NHMWj3UuZgAYPII asd2rjK0oYPvjijSga5bn8fE3wPQW2XG6vPQDHIyqBgHi9F7alPQYcd+GdiI9H77p1Mp gokcvvD7s01eEna1NnAIfh5GF9e5DKpr+JbL0xbdV+TMLaNkC7kuInZMXcUyvtTpUkVw A26Q== 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=TQeaLYwXYly1zuJ7OBPSk2UvVCHOsAvwZkRLMeZHSp0=; b=fKKkOjpt4zAJjMa0aHkh0PMV6Gt6F8JtlN8tJTv84YPCeeqcyX6mJtUn+2beEJeJwe aMEKTSc/07/sUsK8To0AM8D/ag8KsRr6dTGv9vOw83PB1viyMsJvhEdy1z7hxPMMC4/q kwHeJs5kPjiihQt+v4hnTF/4m9X6f6Htj1ilgjrlnnI87cWyNhUgqKSzdAY9pFdoZ6zm NDdEzJVJMnpGc2mAIi1dqLDuDQZcTkY8GXxJZAWFDthKMmdi+6C95dcqkdGCInL/OyJN qwTIoG2QiQGwzNsJE6hpn2jetCXYW/lu2eXwB4Dd8mKDG/ruJeNObJjdWrogubmuswB1 jBXg== 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 a25si14712058eju.71.2019.10.16.00.10.47; Wed, 16 Oct 2019 00:11:11 -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 S1729661AbfJOVVO (ORCPT + 99 others); Tue, 15 Oct 2019 17:21:14 -0400 Received: from mail104.syd.optusnet.com.au ([211.29.132.246]:45176 "EHLO mail104.syd.optusnet.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727523AbfJOVVO (ORCPT ); Tue, 15 Oct 2019 17:21:14 -0400 Received: from dread.disaster.area (pa49-181-198-88.pa.nsw.optusnet.com.au [49.181.198.88]) by mail104.syd.optusnet.com.au (Postfix) with ESMTPS id BEC3643E48C; Wed, 16 Oct 2019 08:21:11 +1100 (AEDT) Received: from dave by dread.disaster.area with local (Exim 4.92.2) (envelope-from ) id 1iKUFj-0000bV-AG; Wed, 16 Oct 2019 08:21:11 +1100 Date: Wed, 16 Oct 2019 08:21:11 +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 02/12] xfs: set IOMAP_F_NEW more carefully Message-ID: <20191015212111.GV16973@dread.disaster.area> References: <20191015154345.13052-1-hch@lst.de> <20191015154345.13052-3-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015154345.13052-3-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=P6RKvmIu c=1 sm=1 tr=0 a=ocld+OpnWJCUTqzFQA3oTA==:117 a=ocld+OpnWJCUTqzFQA3oTA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=XobE76Q3jBoA:10 a=20KFwNOVAAAA:8 a=7-415B0cAAAA:8 a=KHnzD9ULXBYcAXR4xScA: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:35PM +0200, Christoph Hellwig wrote: > Don't set IOMAP_F_NEW if we COW over and existing allocated range, as > these aren't strictly new allocations. This is required to be able to > use IOMAP_F_NEW to zero newly allocated blocks, which is required for > the iomap code to fully support file systems that don't do delayed > allocations or use unwritten extents. > > Signed-off-by: Christoph Hellwig looks fine. Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com