Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp285558imn; Fri, 29 Jul 2022 06:54:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vZv1NQK8fsClFx2SCD7K+FHpv32VpBT+1+ary/Wzvx2PqOGfvebm5D4ufWzGWpGdL7aCgK X-Received: by 2002:a17:907:2714:b0:72b:7deb:95e7 with SMTP id w20-20020a170907271400b0072b7deb95e7mr2918432ejk.761.1659102864188; Fri, 29 Jul 2022 06:54:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659102864; cv=none; d=google.com; s=arc-20160816; b=oBzu57d9fK1Du5OM9vsYx4GSdoTVtol1omx79ADiR8gjHpnsk56ToGVUPEtAkfs+pg Tk+FhE2qESNe7eDUmewCFASg+gxv908i09eI2t1ChfQ3oBsFPhUFVOWd+do6ufkETHEE fdnA1hCyZOei5wqqAVFftAoO+fQD0kAJFHs8P7tEPDEp5TbOz0nHiMsiDe9fPH8KtQrD 4lNgm8/jU7k4/l5Phzp98JrjRkm78Zl0SYTi6VMLFEq9U8UasEz7LgwBeEk33tgCFwkn wOV65xYGKD/Ujm9j1RmtFIgs32yUPDOqNUUCO5aaGRIZHXflYXaIKCGzpRXCSTZu6EFW eJ9Q== 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=eCHNh6LIA9gROqbDgmH+94ZUhQ9hP1NXx31IFuMdPWs=; b=YpNfniJcYFDMKo0uhh254uBQ6NCJN/s7ru1SrKccyVU9c/LvVSqYc2VuKK2Qq3g8y0 L6LrSekdJ5dM7OK6e7NUknMml/kBfA41uVbyV9NKzqA0fhWl4z4t3BeRPz66mo7tLSD+ qOBAi+8x0Vf+/rkv83oVGV6SSvBSO5R/R9jTF8VARvsdsX8WNqJY5MeqmkGFpMhW7gQK VrnAZCpL2/ZPbJrBF5H/utJJKGXjZ9ME8aQEKr7EY9j0xNiqAgnxsbTt0PI+OnxpRkdk 1eUv+be1Skmc2WGuoDf9yVlTgMkxYkn2Z4EAKsxkrk1ELqKqtArk2xhRv6bxA/z89Sqc ItUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YG0E8TX0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb12-20020a1709071c8c00b0072b3b8d31f8si4240120ejc.63.2022.07.29.06.53.59; Fri, 29 Jul 2022 06:54:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=YG0E8TX0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236558AbiG2N1S (ORCPT + 99 others); Fri, 29 Jul 2022 09:27:18 -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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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?