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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EF50C00144 for ; Fri, 29 Jul 2022 13:27:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236570AbiG2N1T (ORCPT ); Fri, 29 Jul 2022 09:27:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234954AbiG2N1Q (ORCPT ); Fri, 29 Jul 2022 09:27:16 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BB1468DF4 for ; Fri, 29 Jul 2022 06:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=eCHNh6LIA9gROqbDgmH+94ZUhQ9hP1NXx31IFuMdPWs=; b=YG0E8TX0Hjc5KOEydvltqdXoI7 MxeSDaw5iUawZAp0Ro9zRcqvwAvICwC2vtcMbH+8AIw2zVvxJK42HEW1LFuwsZlhymKVgmvZ8e/z3 7oChMqWHO6rmpbqlV05cTfb354oLhilwEaNI8JmfVxoicyfJp9zDI9smPAiZAMdj+owm5nsccPD+X bb+dvxcElbxtXB1y5qpV5NYEo1tChNpmhkRM4/6WmlkVg8nQdnJY6CBQD+c5bsJ/FLE0shF81dzvm 1xpvAP2eWPoNh2oxeWJ2II4w/BLMWW0J0ewVIMjYA7xQ4aRAu7b2Bb3zgg9IsXjOsbK3mtUG/YOs4 vJ2+Kw0Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oHQ12-0059BM-RJ; Fri, 29 Jul 2022 13:26:56 +0000 Date: Fri, 29 Jul 2022 06:26:56 -0700 From: Christoph Hellwig To: Eunhee Rho Cc: "jaegeuk@kernel.org" , "chao@kernel.org" , "linux-f2fs-devel@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v0] f2fs: allow direct read for zoned device Message-ID: References: <20220729002517epcms2p35eed262c3349287436c1848ab350c2d4@epcms2p3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220729002517epcms2p35eed262c3349287436c1848ab350c2d4@epcms2p3> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 29, 2022 at 09:25:17AM +0900, Eunhee Rho wrote: > For zoned devices, f2fs forbids direct IO and forces buffered IO > to serialize write IOs. However, the constraint does not apply to > read IOs. Asymetric capabilitis will cause a whole lot of problems for us. Can we figure out why direct writes to zoned devices are not supported and just fix that instead?