Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3967564ybb; Mon, 6 Apr 2020 20:41:46 -0700 (PDT) X-Google-Smtp-Source: APiQypI7cIHQs/ldOC57JwfiUQW0mWCRC3XRIuqBhlWi/soUX3gYctOSRpGzk6lm9q0uAvNi7/OL X-Received: by 2002:aca:4997:: with SMTP id w145mr268702oia.58.1586230906626; Mon, 06 Apr 2020 20:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586230906; cv=none; d=google.com; s=arc-20160816; b=FfO78EZ5sQQq5q03F4XPhdmbIs2Uf6q5kxFxQnnz9FRINNhFCTWYjnJrriGa0U+LF4 SrSP9ItBMyG5lirPGQHBWB3TfmXIThY02rWZXxcw+e14/Psy6ziwYa2wfx+9x/gcOvGh nap3AuQJZbju2wW4zWsMDZW1F5p4otUtGd+FHOA0PSxIRJMIxqdo2sgJZbgB8KPLteEi FxL73Aqh0NXI1Ni9kueFAeIcAUM8MoFOwkEcf9XWkBA1prrmADftWs85keHB8u5Cs48x 18I4jSHK+J9IXQ2npSY0piCWvZWiHmK2tEolV3DflKpjaD7sZKjUHXUckROUAGPEwZtB whrQ== 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=6x5UPTStT3QRdaWsXKqqph2qYtz+cXlmStn/DEyVThg=; b=QX9etSL+drf6lAN6JLNAp5CsxLimh+OIMF+lD2u1K6nnRZoZmR3p4PBNjNkIO3NbSi yzFGP8u0S8H5xQmhQp7758J7YJ3Sew561y4C8U3/iBN4bhmloyLwqIpEVAJ5c5nGEJzZ +zRjz7Xem7MHZHoANEHcasals+e1fO6tdDyJ+DQLI4nVIA+U5Z8KhvzxQLqU1gP54aJS jKv59unIFq2TAUyudCR40IaRRIO/ocg2f1Cg1nbr1I1LLtlmFx2ab0rRXdaJ7ZE/0Eb6 XyXaL8TBDPxuT5FcZGHu9GxEro/0p6n2Zy1ha3vLnLVgCuKGUNeoXQiFiKDUtNHHlz9o sGPw== 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 s84si155248oib.83.2020.04.06.20.41.33; Mon, 06 Apr 2020 20:41:46 -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 S1726535AbgDGDk5 (ORCPT + 99 others); Mon, 6 Apr 2020 23:40:57 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12689 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726303AbgDGDk5 (ORCPT ); Mon, 6 Apr 2020 23:40:57 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 66EAF4EF28E8D5968ECB; Tue, 7 Apr 2020 11:40:54 +0800 (CST) Received: from [10.134.22.195] (10.134.22.195) by smtp.huawei.com (10.3.19.209) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 7 Apr 2020 11:40:52 +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> From: Chao Yu Message-ID: <2ca452cd-073a-29fa-1884-99ad1199bb97@huawei.com> Date: Tue, 7 Apr 2020 11:40:51 +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: <20200407025913.GB137081@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/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? Thanks, > >> >> Thanks, > . >