Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp59216pxk; Thu, 10 Sep 2020 23:44:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlK+ZuTq31mcIjfB6xtnhVNAqj5s43GiU8q412LzKX0RLkuNYbrxxoj3mg7wJIz4mw66fs X-Received: by 2002:a17:906:19c7:: with SMTP id h7mr599933ejd.517.1599806663255; Thu, 10 Sep 2020 23:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599806663; cv=none; d=google.com; s=arc-20160816; b=SVKlQA0S0rLIRRFxwWBBU37M+KTDJNykNyf54z+HpCSwVclp4k/qn3VYllvTozf2ia eYEA8iRRVhtFvHBv6w67evMGpH4DEyzTA7KSTWhwHGZgUjIJNPAOj3WCQhmaLXmdJxAH JLxbuvoPrGXg3OQrjO4ALIl7fqSxhDLYCM8Cp5csn3A8bXLiDevFqjmPyAasJmbCLcR/ LcrUQZrfhgjKasQFlkV0tUcIAzqR402QatGH0R7tR5MCbRwy+dVEJEn8mvenpeel2brk qshZYaPHo97SLqEg3Dloe5tg1ZW25An9zNWk1Qjj6WScQJQD/ZmUj4CXoYaAxVmtqQCh C4EQ== 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=aIvY0q20GUY/DyC1n3nmNDnvd2ld2xPPMKNm8jNNfkM=; b=gbXnRqA828AtUK1phClqsxCmOOjrKTLCte9Jf7tgJkmEgOSEidd8DLBplr1rsSjNLO U2Z1IpErq9K11xklwelf6gmtzQYlFD8uFej+CBLPB9EDKIl7c2021E2Ae0BTbZ1X6Iej MOTn20Bdc3lXYilTmDg6Dm8HpgXmE9zDlwM/MWnlWwxfBq+6PU0rVZeLY3uhMfH/gcsJ bIhNf8DUjMqMGTt4WOHXNuaP+oEYhShi4WoKtb/sw9B9ysy8PRR+qrZ0jf/AHgnEtgzd BGE6U2rIeS783y7TFdA8E4leYs6RuwuaT1f9NNUxgn8eYJq3kGT1Pexd8Q4rNPcff72+ QF5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=iOa8WVA0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k21si692811eje.480.2020.09.10.23.44.00; Thu, 10 Sep 2020 23:44:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=iOa8WVA0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725798AbgIKGnH (ORCPT + 99 others); Fri, 11 Sep 2020 02:43:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725550AbgIKGm6 (ORCPT ); Fri, 11 Sep 2020 02:42:58 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17176C061756; Thu, 10 Sep 2020 23:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=aIvY0q20GUY/DyC1n3nmNDnvd2ld2xPPMKNm8jNNfkM=; b=iOa8WVA07pDrSye4+Sgz/bCdG7 rG9Wvg4hwkJeg9OyR+jG6wGqjzEWeTJPBPRlulGaPOS8UQZBVL3v+KPzz0WfLKwmrsxExuJ5t5xC5 g3J0StagGG7heOkmNejJ2RO5a5Kvk0eL9K7O7byeRuioMbN3ZBxYUCJm8k9q6vSg+oLVpkaeIS9T+ fZf53xjd66KreZwQg9XqEGbThYuwm+YofNf/i+KbJjLceEwM1rLoD+dVeahBKNYDwpYu/LwqinWqA hQy5DfAYGwoUs4wZuoGCRTDTlsjSnnTSPgon+3SyLB+AkkNy0/stPaoD3NvES6scv3l3F42l2mz3W VscFLl6Q==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGclq-0007pp-Lt; Fri, 11 Sep 2020 06:42:54 +0000 Date: Fri, 11 Sep 2020 07:42:54 +0100 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, "Darrick J . Wong" , Christoph Hellwig , linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, Dave Kleikamp , jfs-discussion@lists.sourceforge.net Subject: Re: [PATCH v2 9/9] iomap: Change calling convention for zeroing Message-ID: <20200911064254.GA24511@infradead.org> References: <20200910234707.5504-1-willy@infradead.org> <20200910234707.5504-10-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200910234707.5504-10-willy@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 11, 2020 at 12:47:07AM +0100, Matthew Wilcox (Oracle) wrote: > Pass the full length to iomap_zero() and dax_iomap_zero(), and have > them return how many bytes they actually handled. This is preparatory > work for handling THP, although it looks like DAX could actually take > advantage of it if there's a larger contiguous area. Looks good, Reviewed-by: Christoph Hellwig