Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1961085rwb; Wed, 5 Oct 2022 07:17:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ovWYZHVp4S6lLvpeXwekigXEaqHd/VFllxC98zcw9+GJkIyovDDM0K89rQy2WmjDLPktd X-Received: by 2002:a17:906:8473:b0:77b:efa8:50e4 with SMTP id hx19-20020a170906847300b0077befa850e4mr23326087ejc.250.1664979428629; Wed, 05 Oct 2022 07:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664979428; cv=none; d=google.com; s=arc-20160816; b=SYilnt0vV9ZY6CkSOzMJ/dyRQlhWnsV2vHMK6P/aQhEaVy7uyNpB2Mtv8OWdGPiwM1 S0v02qFcp5beKgDMAFjEXi2SCYgzWwzIHiGQrlF71R1MUOsl6ZPOvRgIMgQUXoyHQ/lB n2c4BaE3UmeZc0fGNiTU7UtEIHpLqGTNLuGgAF4Av20aK3Q007iY8WTs7F9GAqRrIRL5 R93jVTVmxG3Z+dn0Mq+CgAO14Do4Ohx9lb7ivJp73ztQ0J8HLg8CbBp8PowzGNEvLVom uSSm/F+MjGR+9TxiYoXEAZcDPYXN1xtHAEVxLrazwZjLsG+zEZ9ZrzfF/NTgeK9+k5+K KCpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=e7PSIb/JPDwXHnTYN+LKe3abLm3kn+KP7lhHuRNsyYw=; b=PBvWtCsnj3F017s0iFjeYZBPccYk73PIEETkwYZe6pVd1ZtlFqfyPJeooONmirkpg+ IBLvzhWfm9i8iz6mFanwKgwNCZYxrAN5lpEyjPx47hJtJZ/kjrEo3X2lqgTyF+vTaTdc fQ6bLz8rMdXTsds6NxsMs2mZIIAQt6jBza5PXNF7wjModLiX00NXy5fZ61QKQ8ZMdYw8 q8vKaYjfvM5Es8KPFhX9TjowlWc47ETQmmfPX1WkCqDkxRRaxOeuyuamiwWM7E4ZLzwb +JIHXpyB0bmFP8mk7ouFPkosCzSOl0QU/wmm70+cQJng7mm+Th7MA0l12JOss0Wu7Zmd MqmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tUEzgRJ2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020a056402351300b00458b87a0919si12161253edd.114.2022.10.05.07.16.43; Wed, 05 Oct 2022 07:17:08 -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=@kernel.org header.s=k20201202 header.b=tUEzgRJ2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230189AbiJEOF5 (ORCPT + 99 others); Wed, 5 Oct 2022 10:05:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229940AbiJEOFy (ORCPT ); Wed, 5 Oct 2022 10:05:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A17C7694E; Wed, 5 Oct 2022 07:05:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7F9EE61704; Wed, 5 Oct 2022 14:05:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3835BC433D6; Wed, 5 Oct 2022 14:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664978752; bh=scXS6ZhuTh6xsx3fuPeKlfJsKJMflXIWX7c/5vBO7rc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=tUEzgRJ2Cz2WJQ+vuAcgPUtSb7WJfJm4OzjqWnQryTFCvGD0+PEnzdCgrbVCrPxoI YX+bGL6vvFJ96s0xDKNg75/TdpiZFVfR8ARHXiOnIjhHcx/yR9GSRss2VdwB3t5HcT 8mj+RhmfrdDLo8sWIDbQpk2IxiRHb9zNBeZj1mMpvHXCC1YmPAdWnynZsLp5HPFZoU C4waj+CExbURHkQyN+ULXE00itcKcGsPy4sRIxFOkEK37cQ4BF0SKBkMZbhy64HLx4 rM5cZLyqq0TlNLvPgLLX270yJs49E5nB9rPfzQgTIkzz32m5UtmytT1lxwji+Khb3K g5lnZk64uPDfw== Message-ID: <40bf2957-8134-a30a-fa2b-8f6593692c24@kernel.org> Date: Wed, 5 Oct 2022 22:05:50 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [f2fs-dev] [PATCH] f2fs: allow direct read for zoned device Content-Language: en-US To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Cc: stable@vger.kernel.org References: <20220930225342.1057276-1-jaegeuk@kernel.org> From: Chao Yu In-Reply-To: <20220930225342.1057276-1-jaegeuk@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 2022/10/1 6:53, Jaegeuk Kim wrote: > This reverts dbf8e63f48af ("f2fs: remove device type check for direct IO"), > and apply the below first version, since it contributed out-of-order DIO writes. > > For zoned devices, f2fs forbids direct IO and forces buffered IO > to serialize write IOs. However, the constraint does not apply to > read IOs. > > Cc: stable@vger.kernel.org > Fixes: dbf8e63f48af ("f2fs: remove device type check for direct IO") > Signed-off-by: Eunhee Rho > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,