Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2140397ybt; Fri, 3 Jul 2020 01:42:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSx3rKjCYRN7/EGzx9UyZYETlaYU3/jJq5WQpHJ0Y/DTivl/oqCYajKa16pcJpSIJ/O7jw X-Received: by 2002:aa7:c991:: with SMTP id c17mr31623599edt.278.1593765777938; Fri, 03 Jul 2020 01:42:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593765777; cv=none; d=google.com; s=arc-20160816; b=IXvIxuykFQGnOOnmkF+IXOY245MNYselwNsmhXdGrLsh0BwCk0amrf5SRkh87VAj/v ZeN5iCY/RcfSMVmvfuBAnywN+15wkQuqW/AjQn9sEuIKMFXoeHjImmTSJ6VRKlLhgP8c yJtyHDyAYtFD+B5K6dkct946EmANAC1Q1C9H5M+//zgafxGDuQwURUPjKGXqjCtApeJp 3AiXB/hsHvNqFvh2hFfZAAbKZA64jR6tNdARz6KaAARCPtfUaEJ8BxIf15NkPCIyxQmE uIBHpzNeKfOfrYc/QvPfySRJFOujVgp0ro6Uj/RnINCgUpjwQBZ0PH2BJD3pYcsiv5tq Zp7Q== 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:mime-version :message-id:date:subject:cc:to:from; bh=oh+uhPXtgf5lj9SicfDUIr3KkNfhY2dDihhOCeP32xQ=; b=fgnQ6DsNQEcdM6n6qPXOAe1haHPlVaVBQhFlFvyJwcmvWVRpDJoDFo7Mn5jcTVuWlQ 1cPjz8NEKKBnPI/LI5lu7Fi73eOQj0JFLuBUUfqPNE2DDcv9iU2bmiB4bAl28zzN6K3M QD5OBrGYPWw6Um6qXff0KPZnkpfgWxudJyUm4+vJGc8jl1mM5YS+/FpJ9E2QsyUTLWTf EzwoxsKSj2QRzxCB3KzH6+Q+B9nlipwbc28fGnmFyVXEGIOm9uSLhuhmrlWJW2jAscC4 3FcrSu8NXAYePR8mxInbj2Rdhg1sDOfGHwHklfvlVvkOVE7kTr4+PMGXiX//kLq36KPs jp/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lk3si7202444ejb.653.2020.07.03.01.42.35; Fri, 03 Jul 2020 01:42:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726372AbgGCIja (ORCPT + 99 others); Fri, 3 Jul 2020 04:39:30 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:7368 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725648AbgGCIj3 (ORCPT ); Fri, 3 Jul 2020 04:39:29 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id B08A2E2E8CD71AA10A17; Fri, 3 Jul 2020 16:39:28 +0800 (CST) Received: from szvp000203569.huawei.com (10.120.216.130) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Fri, 3 Jul 2020 16:39:21 +0800 From: Chao Yu To: CC: , , , Chao Yu Subject: [PATCH] f2fs: fix wrong description of compress feature in f2fs.rst Date: Fri, 3 Jul 2020 16:39:09 +0800 Message-ID: <20200703083909.42479-1-yuchao0@huawei.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.120.216.130] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org f2fs will try compressing data in cluster only when "all logical blocks in cluster contain valid data" rather than "all logical blocks in file are valid". Signed-off-by: Chao Yu --- Documentation/filesystems/f2fs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/filesystems/f2fs.rst b/Documentation/filesystems/f2fs.rst index 535021c46260..de43239a3c31 100644 --- a/Documentation/filesystems/f2fs.rst +++ b/Documentation/filesystems/f2fs.rst @@ -739,8 +739,8 @@ Compression implementation - In order to eliminate write amplification during overwrite, F2FS only support compression on write-once file, data can be compressed only when - all logical blocks in file are valid and cluster compress ratio is lower - than specified threshold. + all logical blocks in cluster contain valid data and compress ratio of + cluster data is lower than specified threshold. - To enable compression on regular inode, there are three ways: -- 2.26.2