Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2894539pxu; Mon, 7 Dec 2020 20:13:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDmjM+gywzDIh1KiBeTx0+yMZYswnNlUue20g514BOl77VymRPhS0baxC0CNnP1/arMBar X-Received: by 2002:a17:906:268c:: with SMTP id t12mr21188999ejc.377.1607400806238; Mon, 07 Dec 2020 20:13:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607400806; cv=none; d=google.com; s=arc-20160816; b=GySO9TsZ8VIM2w4dUzioelBHkDvZZEAfmYaL9Uldwi8aQWXTh3B9cXROlJgi6ouauL 6Jw6VRdwWzzdyMfmakF8Q7FB3Ja1dRqEhrZ9srqrJzRBt8HAZd3DVUBKPTA1YBNwmaED ptEB+HsLJ5ZYhfewZSJSwd6QiaDeQT8cl8W5qqgWyh5lePMNEZ16uMEyQto94dokXtBj +HC+TXvt5mzn3tTnsydCtxe7Y/KLA2jSP8h8Krda/tztk81MF36L7kEene5IPzKfVpx+ bGZtaE366BxIvl6JHir++0MoXjfwzAGJoeh5HN3lgtYbVlMBq9JxCoJa11bkseYPJ5wM pNUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=Fu5y+4SdNUY6fES5c4juJXRA/a2B6b9V0whODR+68tI=; b=tauLNG+y+Xhm54PAMuhPatilKdBu7AaCRIAIrc7bbsBjMZnQcT4rLpxpM8/46OlSOt /2+xZC81EqdCHdqb8FZ+rpfoQQnJvvUBaMyGxKSjNxJtvYfVvHYKHUnSGmXeMwgxzdJi L565k56N+jQgWKd9TZx8yFbtEMajmHDJsol+Nwv3FgzCSN4T4b7q4S0xEvntVik1+h3i HEhu/AV6iJbOX58OOUouByOwUPHsFi8SLb8jLWihzSvPNySyoI2E3BTGWIWzFVU2+m09 QnBke4ABQ+oaDEIxXLrLqgLEHIqDZAHN9GzuJ2hnQ6vd+1gTeQdF6Ac5eRNayVgUoisn GB7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m43jbMlV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si8888314edy.296.2020.12.07.20.13.04; Mon, 07 Dec 2020 20:13:26 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m43jbMlV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726207AbgLHDuO (ORCPT + 99 others); Mon, 7 Dec 2020 22:50:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:60306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725853AbgLHDuN (ORCPT ); Mon, 7 Dec 2020 22:50:13 -0500 Date: Mon, 7 Dec 2020 19:49:15 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607399373; bh=K+AuuBZl4hBPvkhnz+5DsdlBPwu1F5l2MO6LkZGaZhg=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=m43jbMlV5Adfj+4GDftjqlqK9gsflMPNoZNr0MNhv8r7E2laJOnOhRlrbHijhOOYa JgTL1IJS4RlKO85/Dm6SoqZq8DakS5MNbROKyuu3D+VcoQM97Q3QB/nXM7onSTSelY TZKG9cYrbJIKaqsJ0hU4hp1/bC9LabTo0EnTv+4DFm/JAVYS1CMJerRQW2cb4q1uka cNwakO6vJoc4vFMyQYRqWZslvNfHROcig2VARRAQhn9vuie077K7YdbdP4/0W2ZGpr 6DM9Pt+4KSrM0xVhyO+qePsDeF78nMBdex5a+qkWEv9yvWolb7hZ8gfqot9aB9Jspy EKgQA9IUPI3+Q== From: Eric Biggers To: Daeho Jeong Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong Subject: Re: [f2fs-dev] [PATCH v3] f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE Message-ID: References: <20201203065615.402494-1-daeho43@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201203065615.402494-1-daeho43@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 03, 2020 at 03:56:15PM +0900, Daeho Jeong wrote: > From: Daeho Jeong > > Added two ioctl to decompress/compress explicitly the compression > enabled file in "compress_mode=user" mount option. > > Using these two ioctls, the users can make a control of compression > and decompression of their files. > > Signed-off-by: Daeho Jeong > --- I still don't understand the purpose of these new ioctls. What's wrong with just FS_IOC_SETFLAGS(FS_COMPRESS_FL) to compress a file, or FS_IOC_SETFLAGS(0) to decompress a file? That appears to already be supported... - Eric