From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 100CAC433E0 for ; Tue, 22 Dec 2020 14:23:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C3E3623124 for ; Tue, 22 Dec 2020 14:23:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727229AbgLVOXW (ORCPT ); Tue, 22 Dec 2020 09:23:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726949AbgLVOXV (ORCPT ); Tue, 22 Dec 2020 09:23:21 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F6F4C0613D3 for ; Tue, 22 Dec 2020 06:22:41 -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=hYnCL/Z0LMH7jTIypqvf/4LgCsg5+aYOBvlIsw/Dfzw=; b=bTEPE34SwYAvu29kn68FrqY2Z9 3bL5mRxgSbYTbn2ehqbWCaCkz8xpwvyemI7mAp9vkYjTlQKdUVZWt3dLxJux15wGFqaSw5Puqkry+ Aacl9zQjB/ijChJnjG4qlOMfPXaz6O3EPABOPzWAHwGUMZtCqJgZ8JTdeOQL3XyVJ0lUywAA5FP56 vmCOzy05UHogeP6c28ICR1s6V80oGPmLh7g4d2rEAfEjVqiZyvSPLoxJDYwEoaGXrFXNrgtZk+nnO ThMoPmsIDGWzNCWhI9HdZdiwOovBhX2/B65VWgyRufCAhTIPpOmxJfTb2JjNniuSFSZyvh9gT/mc/ mkRC4lUg==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kriYc-0004qi-8T; Tue, 22 Dec 2020 14:22:34 +0000 Date: Tue, 22 Dec 2020 14:22:34 +0000 From: Christoph Hellwig To: Huang Jianan Cc: linux-erofs@lists.ozlabs.org, guoweichao@oppo.com, zhangshiming@oppo.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] erofs: support direct IO for uncompressed file Message-ID: <20201222142234.GB17056@infradead.org> References: <20201214140428.44944-1-huangjianan@oppo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201214140428.44944-1-huangjianan@oppo.com> 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 Please do not add new callers of __blockdev_direct_IO and use the modern iomap variant instead. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64F6DC433DB for ; Tue, 22 Dec 2020 14:22:52 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF6E62311D for ; Tue, 22 Dec 2020 14:22:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF6E62311D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4D0dpd5stlzDqM7 for ; Wed, 23 Dec 2020 01:22:49 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=casper.srs.infradead.org (client-ip=2001:8b0:10b:1236::1; helo=casper.infradead.org; envelope-from=batv+9b673c29b2be71bbe139+6330+infradead.org+hch@casper.srs.infradead.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4D0dpR6wlfzDqJ8 for ; Wed, 23 Dec 2020 01:22:37 +1100 (AEDT) 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=hYnCL/Z0LMH7jTIypqvf/4LgCsg5+aYOBvlIsw/Dfzw=; b=bTEPE34SwYAvu29kn68FrqY2Z9 3bL5mRxgSbYTbn2ehqbWCaCkz8xpwvyemI7mAp9vkYjTlQKdUVZWt3dLxJux15wGFqaSw5Puqkry+ Aacl9zQjB/ijChJnjG4qlOMfPXaz6O3EPABOPzWAHwGUMZtCqJgZ8JTdeOQL3XyVJ0lUywAA5FP56 vmCOzy05UHogeP6c28ICR1s6V80oGPmLh7g4d2rEAfEjVqiZyvSPLoxJDYwEoaGXrFXNrgtZk+nnO ThMoPmsIDGWzNCWhI9HdZdiwOovBhX2/B65VWgyRufCAhTIPpOmxJfTb2JjNniuSFSZyvh9gT/mc/ mkRC4lUg==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kriYc-0004qi-8T; Tue, 22 Dec 2020 14:22:34 +0000 Date: Tue, 22 Dec 2020 14:22:34 +0000 From: Christoph Hellwig To: Huang Jianan Subject: Re: [PATCH] erofs: support direct IO for uncompressed file Message-ID: <20201222142234.GB17056@infradead.org> References: <20201214140428.44944-1-huangjianan@oppo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201214140428.44944-1-huangjianan@oppo.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guoweichao@oppo.com, linux-erofs@lists.ozlabs.org, zhangshiming@oppo.com, linux-kernel@vger.kernel.org Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" Please do not add new callers of __blockdev_direct_IO and use the modern iomap variant instead.