Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5591487pxu; Tue, 22 Dec 2020 23:46:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQ1fxcvWqxFhsst53pTh57qaiUH+xh3Uu0B0RIUH9ICqtSHoRVVIGVi6Cvf2VgeQWAFYpr X-Received: by 2002:a17:906:9388:: with SMTP id l8mr22889967ejx.22.1608709615554; Tue, 22 Dec 2020 23:46:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608709615; cv=none; d=google.com; s=arc-20160816; b=zgcT9m43AVlyd3cskAfLVE0rbXmvCjXf67NFgXIQymhEgeRJDvEH/shyIxY5dd8aHW tyjgX3UYT+wtXfhip0bVlyU2Z5JKeckVuDrS5af9YevE+vfauomNnp8ItPNQ4IHCtjbq 32m75W5hPvijD+6bsacfkNt1Rh6DYkGYTZoBc8nOkwDTbwKuV09FFxD5MJfxGvQ8dDeI pA0+6zko5NDVgJKx/ATmsXU2gstVkmwwD59zZ11qtXXzvwxCw+9rxiLOijcR33zxbWCu h+nobZNZxg1mBiXiWdgYFAeHYv6iE7wDKoCNnvx6T1yiZeDCL2W+oSH7zsT+01USU5Ki M2UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=E1YUsD2nj+OkFU/in0WWLJXY7M3YefssH3/+iMphZXw=; b=O43zfQsTt8nv6PzwLmrS36rfkXFKqMWE/GNP5R5vhaqLGErQIKrOEHMnNb3u+Vh0pA ZvoGgl587MBJBxa5Y8ofQIcIorLj+j3DKox+1S4BkpVIOziaKxp03Nz5Qb+6gC6zY69v IvH82MlaRTAbjJI7tPTVu1e3ooUIq9XG8IagIqXjk4Lamn6yKdnTjKRglHvUhIODJ0sP 4cCvXqXP4MZ/UFVsJj9/16x1sVPtFrXMesjeOv5O9UywmYhkMNOfUUyjh2kP4iQEMD7S pMYSdjryixLeDXTZvLO+dOQxjKBiV/UvUCY6DtCd81uGg7M5tpCAFOgVc/Mm98JVq/bA chPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=agC1u3To; 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 h14si12153940eje.288.2020.12.22.23.46.32; Tue, 22 Dec 2020 23:46:55 -0800 (PST) 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=pass header.i=@infradead.org header.s=casper.20170209 header.b=agC1u3To; 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 S1727282AbgLWHpt (ORCPT + 99 others); Wed, 23 Dec 2020 02:45:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbgLWHpt (ORCPT ); Wed, 23 Dec 2020 02:45:49 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A77D2C0613D3 for ; Tue, 22 Dec 2020 23:45:08 -0800 (PST) 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=E1YUsD2nj+OkFU/in0WWLJXY7M3YefssH3/+iMphZXw=; b=agC1u3ToQ1zPlTVVYpeaRxP5vk 5VQh9UrNVdKzPrSdAJMTCR2PnwZ59WEO2jeslQ50DQ7IabBtlRl+IuaxE7TauU+pxYs6gHE2RcuIZ 1U4DpaAS0sEgx2LK3ZdvN/GjVGyVEmq2zjlA+KTvq16MyqVuWNbe0y/uvzhVnz66Do5zk4Lg5THSc W6hjSVrigGcUdZiFxiL9CkKFmynHmLsdTTJitENrotxkuPR9x+lvLuu2uN8MIXVqs4g/2MnVK731X 13kdLohOH7RpR7G3QHQGuZnupe00dUatAtpkBULPqCSPxZOmKdK2KLJhDtYgIJX8ThZqQMNI9Zlde YNzcDnHQ==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1krypL-0003sk-Vn; Wed, 23 Dec 2020 07:44:56 +0000 Date: Wed, 23 Dec 2020 07:44:55 +0000 From: Christoph Hellwig To: Gao Xiang Cc: Christoph Hellwig , Huang Jianan , guoweichao@oppo.com, linux-erofs@lists.ozlabs.org, zhangshiming@oppo.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] erofs: support direct IO for uncompressed file Message-ID: <20201223074455.GA14729@infradead.org> References: <20201214140428.44944-1-huangjianan@oppo.com> <20201222142234.GB17056@infradead.org> <20201222193901.GA1892159@xiangao.remote.csb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201222193901.GA1892159@xiangao.remote.csb> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 23, 2020 at 03:39:01AM +0800, Gao Xiang wrote: > Hi Christoph, > > On Tue, Dec 22, 2020 at 02:22:34PM +0000, Christoph Hellwig wrote: > > Please do not add new callers of __blockdev_direct_IO and use the modern > > iomap variant instead. > > We've talked about this topic before. The current status is that iomap > doesn't support tail-packing inline data yet (Chao once sent out a version), > and erofs only cares about read intrastructure for now (So we don't think > more about how to deal with tail-packing inline write path). Plus, the > original patch was once lack of inline data regression test from gfs2 folks. So resend Chaos prep patch as part of the series switching parts of erofs to iomap. We need to move things off the old infrastructure instead of adding more users and everyone needs to help a little.