Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp280754pxu; Wed, 2 Dec 2020 23:09:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwWsdoE2ICNG7JFWTT0du2lZVSR7kIYUHjEXXAxH6xtDEhkO2SOrYjWQRy/WWLyrUjiMWE X-Received: by 2002:aa7:c919:: with SMTP id b25mr1547444edt.108.1606979364749; Wed, 02 Dec 2020 23:09:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606979364; cv=none; d=google.com; s=arc-20160816; b=rdGjMeQWQnOBEd6WDQtO9QoxkgDL6/fPbRTch3ARHhl3mHrz58YlDkpLHIj+pCEZWk Y8iTfc0eDBAODK93QXapbCU6Aaxoftuk7+BSF78HUFlfR5MDvOx30XmquCusTXj0fmgE gHkIeZmMAi84Hj0NrtYFWNHS0SXZ0EgGwMkbN92AZRCAsQ6XyaC5VNrNvKzAzPUpGX5/ zPsTle3iINNNfcalnUA5IF8EUcPhrIA6oJ2EHLoZrN1+uBlCuOUDQWWTMoCpatL0vaL2 pbQZB8i17ZtN9jtcKqgg5qm2TgUwPIND3wuku58Z/IaOUlHjnn07/VSZS1vo5D9ofcHm nJEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=zXz9sDTaEdMWMorMtPZ/PyhVuvDK+LWzNG4nMAuWBkM=; b=0T0beWwr3k+31+09KiiovbVvHS1eg66U+TPPcFd6/X18XBs0rYvSCMatffYlRacNuL BfMZcHkaEIdHd4TTzZKnuMPuoAX4UJr6sHOQV1qGYsoPotI3Me8VuwFEZ3Ga9zX94tDj sPaE1Av9iVXeK42HZnT3MpcUatxeLICH1GWntL9lIdfopRIjcko00ihjigZuM8ElUV+W TDRO8ow0S1uZG1yroqlsqrLm+fVTQKNhu8RWMDmy65EUjrbKGRxqQIDi2hIwTa2CM6hk W+HGu8r2BhFcPct+t+N7ZU3lDVpKqJnO2qLX425MnJd2GtrY6aLb7eT5ByMghvYQKHoR b6Tw== 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 p11si617130eja.213.2020.12.02.23.09.02; Wed, 02 Dec 2020 23:09:24 -0800 (PST) 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 S2387401AbgLCHGf (ORCPT + 99 others); Thu, 3 Dec 2020 02:06:35 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:8233 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbgLCHGf (ORCPT ); Thu, 3 Dec 2020 02:06:35 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Cmn0J5m47zkkmH; Thu, 3 Dec 2020 15:05:04 +0800 (CST) Received: from [10.136.114.67] (10.136.114.67) by smtp.huawei.com (10.3.19.207) with Microsoft SMTP Server (TLS) id 14.3.487.0; Thu, 3 Dec 2020 15:05:36 +0800 Subject: Re: [f2fs-dev] [PATCH v2 1/2] f2fs: add compress_mode mount option To: Daeho Jeong , , , CC: Daeho Jeong References: <20201201040803.3590442-1-daeho43@gmail.com> From: Chao Yu Message-ID: Date: Thu, 3 Dec 2020 15:05:36 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20201201040803.3590442-1-daeho43@gmail.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.136.114.67] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/12/1 12:08, Daeho Jeong wrote: > From: Daeho Jeong > > We will add a new "compress_mode" mount option to control file > compression mode. This supports "fs" and "user". In "fs" mode (default), > f2fs does automatic compression on the compression enabled files. > In "user" mode, f2fs disables the automaic compression and gives the > user discretion of choosing the target file and the timing. It means > the user can do manual compression/decompression on the compression > enabled files using ioctls. > > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,