Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3918934ybb; Mon, 6 Apr 2020 19:18:26 -0700 (PDT) X-Google-Smtp-Source: APiQypJQ9q6v8cKZn6t1WSLj+EmGbZF1dO9AlaTZDhJuxnlpfiT4KC1JgrXksYseIS6v6FfMRkAG X-Received: by 2002:a9d:7197:: with SMTP id o23mr2557279otj.286.1586225906324; Mon, 06 Apr 2020 19:18:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586225906; cv=none; d=google.com; s=arc-20160816; b=ygwN0V0eZNtUv0DizxFVDlAClbyYWQlU5KTPtq0LiI6nzASzYZ4YEMcKoJljuoAAnE KNADeCgz62UfOrxReM9IoJDQK9kZscl+vKl4hC306nFwxX3hED+5fnCG+Prw69D75vk0 dupewM7uXguDf8I527lJoe/nOILlS8kMOKonOw3U9K54bxku6pyfTExcNhlrPWRn0bcs O84qlowwtJZvyPf2fCcJvvIVd3TrHeS6h0VnDzqU592yZT1CZYlc2jl8VxRnPDj7xTL3 8I0C72E9UYtvrYrhnRpdvFlvrtejuHI4txjC6QhI9G0CvJUEe8QyQ3B9sViOli8eYSF4 TbKA== 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:to:subject; bh=QYq9sYP6cPfRvmETAiUyLIDmyVHu6DJNsqDEOAiRuDA=; b=dI7oUXrH2uvP4ylmCAHni3tJIET9iiKV4OhplV7TxgzJLTHcKfDKel385JFHMevvHU K8sYe/uPoDrBJaIxcE84FCDOYQss2uheP8RFdp3rOkK2C4xMhQsRIbD4E/jG40Nom319 rHsBvMICbQ1uJ6ZjzxBR1KCOM9y0G1Vh7w2319pAnls+SseyCYMg3GGFyzU8OKlki3iA lw0xIb0772/j/v5eP5vhQpbeU7zfURBc1bqVS32ZexHHjbsHjN7fkiv3aKLPPq0nmNAG 63vT17EhQ215kmajCsEu0QZAUHwOD9Kk9rP9KfhExvzXf79yVKF9Xs9h0He8THiJ91WA riBw== 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 j184si55086oih.216.2020.04.06.19.18.14; Mon, 06 Apr 2020 19:18:26 -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 S1726609AbgDGCQl (ORCPT + 99 others); Mon, 6 Apr 2020 22:16:41 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12682 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726287AbgDGCQk (ORCPT ); Mon, 6 Apr 2020 22:16:40 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 4A90F7B786DD6BC6961; Tue, 7 Apr 2020 10:16:34 +0800 (CST) Received: from [10.134.22.195] (10.134.22.195) by smtp.huawei.com (10.3.19.213) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 7 Apr 2020 10:16:24 +0800 Subject: Re: [f2fs-dev] [PATCH] f2fs: introduce sysfs/data_io_flag to attach REQ_META/FUA To: Jaegeuk Kim , , , References: <20200403161249.68385-1-jaegeuk@kernel.org> From: Chao Yu Message-ID: <0e627c29-7fb0-5bd6-c1d9-b96a94df62ae@huawei.com> Date: Tue, 7 Apr 2020 10:16:22 +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: <20200403161249.68385-1-jaegeuk@kernel.org> 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/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? Thanks,