Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1202334ybb; Wed, 8 Apr 2020 19:25:36 -0700 (PDT) X-Google-Smtp-Source: APiQypLTB34hsbzGPdiigjRAhsgpKLh5tEhY+4oY9/YT2P+o8uw+EgK7SpJ+DbOz5Cimq1oc+kfV X-Received: by 2002:aca:b144:: with SMTP id a65mr4913074oif.75.1586399136833; Wed, 08 Apr 2020 19:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586399136; cv=none; d=google.com; s=arc-20160816; b=KvMHd1C/htu3Yr6Wv5uLIMQmFapaig22nogxFXHFloUaE+4o2jKA8MccyHb5Az48bL UaDpys7OO5Q1smCUW7iAhws4ihDfIWvj4YPTMt+yHZEyd4qJMyxeXIHs7czn79S6CtQd MkvXsveUaFonyDREN24I4gqXwU+XO0zRDwIAs++aSNHLJKC67xcD2fUlFZsKVBrjrlM+ 2JrwoUpGwe67KCygZBqzy1fFKZkTwKY57itnde+8upMn3WET1pxA42sQ8mHN+O9GJhw0 whibOXGZGvtODU4U/aoV8M4zspQ+jJHYVP7AYu/b3ZLfYNGGCE+N81p7D3vpucWfxKq4 LQRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=lO08Jw1MjfwgCCeuUqXUaKISxTY0P7BeY2oOhr56vmg=; b=Q2q4bScCWhAyQkM0roS2AZYr5nz4DFBOGhvKQjOGWF4AHh2TptrCGhBVyF0HripBst BGYxAxIz4bDr9SOh3v2f6FqRy/kNbDq4Ue2G/wk3d0g4rOpd31m8CX+mwzHzPqLXXPOG ZmvMN4hxVVMAW+/nQ31gi7G+k8x80NTDRUzC1KH34KYflB1ag7NblToNuWBzfhk/IDhR 1pOvuo9fRMi63kF0d6jDK+MUGP+il8imalZ5n8YbLu7ZM4vEMsostjHwmj8EorqwyVfP uAL90/jhl5qgMrAS9nPhldY+tSJiM9mZbmILHwvxHbHluI/v8imxpVQyMjDPuHshf0+5 KXpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6si3370504otj.275.2020.04.08.19.25.21; Wed, 08 Apr 2020 19:25:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726620AbgDICXe (ORCPT + 99 others); Wed, 8 Apr 2020 22:23:34 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:58602 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726521AbgDICXe (ORCPT ); Wed, 8 Apr 2020 22:23:34 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id E8130F4DDE3D08055245; Thu, 9 Apr 2020 10:23:30 +0800 (CST) Received: from [10.134.22.195] (10.134.22.195) by smtp.huawei.com (10.3.19.211) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 9 Apr 2020 10:23:28 +0800 Subject: Re: [f2fs-dev] [PATCH] f2fs: introduce sysfs/data_io_flag to attach REQ_META/FUA To: Jaegeuk Kim CC: , , References: <20200403161249.68385-1-jaegeuk@kernel.org> <0e627c29-7fb0-5bd6-c1d9-b96a94df62ae@huawei.com> <20200407025913.GB137081@google.com> <2ca452cd-073a-29fa-1884-99ad1199bb97@huawei.com> <20200409022005.GA110440@google.com> From: Chao Yu Message-ID: <69df999a-1df2-595e-579d-a8c3fc700d7b@huawei.com> Date: Thu, 9 Apr 2020 10:23:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200409022005.GA110440@google.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/4/9 10:20, Jaegeuk Kim wrote: > On 04/07, Chao Yu wrote: >> On 2020/4/7 10:59, Jaegeuk Kim wrote: >>> On 04/07, Chao Yu wrote: >>>> On 2020/4/4 0:12, Jaegeuk Kim wrote: >>>>> This patch introduces a way to attach REQ_META/FUA explicitly >>>>> to all the data writes given temperature. >>>>> >>>>> -> attach REQ_FUA to Hot Data writes >>>>> >>>>> -> attach REQ_FUA to Hot|Warm Data writes >>>>> >>>>> -> attach REQ_FUA to Hot|Warm|Cold Data writes >>>>> >>>>> -> attach REQ_FUA to Hot|Warm|Cold Data writes as well as >>>>> REQ_META to Hot Data writes >>>> >>>> Out of curiosity, what scenario it is used for? >>> >>> It's testing purpose to compare the bandwidths per different IO flags. >> >> Thanks for the hint. :) >> >> As nobarrier was set in Android, so REQ_PREFLUSH will not be considered in >> this sysfs interface? > > I don't see any diff on performance, so not interesting. :) I doubt it may has diff on non-ufs/emmc device? just guess. Thanks, > >> >> Thanks, >> >>> >>>> >>>> Thanks, >>> . >>> > . >