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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70172C433FE for ; Wed, 10 Nov 2021 19:09:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 54A87610A0 for ; Wed, 10 Nov 2021 19:09:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232758AbhKJTLr (ORCPT ); Wed, 10 Nov 2021 14:11:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:34630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232689AbhKJTLn (ORCPT ); Wed, 10 Nov 2021 14:11:43 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B84C961077; Wed, 10 Nov 2021 19:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636571335; bh=/nlf8a6pijn/h9Jdun7z44dTvfnUp17fW2yftSoPyRI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KI2Dy0nHL566ZVbhotl37oq3zis86my26aRiwp23gDxMbYLh4CW2ATAArBqyACntA PdAmISJzZ4fxYBJ9UhMhAEIdM8N2kEWrA31LetW0jWXNY79LZvPU4M3B0w99rZnluf 9+tMU62qpoEf9qc0LjufjQa8czLmCMzHeP5ldgmyE4fT75bI9bYA/B13nya1S6YmAQ LWXs+JOk0EB+kvsJRy3UXPk0XaVpnF0b9Ws+SPNaIUvmKiFKxIK2M5vCdEjeJ0XCzR 1uqjWsFEHdqA4MXiiNocLTXraZWbQ83HppyRyu+HXnuptAydLfTcJIF7NTrQjPOKh9 VqAvFrp8IrWnA== Date: Wed, 10 Nov 2021 11:08:54 -0800 From: Jaegeuk Kim To: Jens Axboe Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] f2fs: provide a way to attach HIPRI for Direct IO Message-ID: References: <20211109021336.3796538-1-jaegeuk@kernel.org> <042997ce-8382-40fe-4840-25f40a84c4bf@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <042997ce-8382-40fe-4840-25f40a84c4bf@kernel.dk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/09, Jens Axboe wrote: > On 11/9/21 9:39 AM, Christoph Hellwig wrote: > > On Mon, Nov 08, 2021 at 06:13:36PM -0800, Jaegeuk Kim wrote: > >> This patch adds a way to attach HIPRI by expanding the existing sysfs's > >> data_io_flag. User can measure IO performance by enabling it. > > > > NAK. This flag should only be used when explicitly specified by > > the submitter of the I/O. > > Yes, this cannot be set in the middle for a multitude of reasons. I wonder > if we should add a comment to that effect near the definition of it. Not surprising. I was wondering we can add this for testing purpose only. Btw, is there a reasonable way that filesystem can use IO polling? > > -- > Jens Axboe