Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp705452pxx; Mon, 26 Oct 2020 20:15:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFi0uKsXksRlloYc4rPeWJWUgiEJaMhiO0G1QxLRDLatQcTAL1SUvXCkqpAJ6tLEKx/pG1 X-Received: by 2002:a17:906:1e45:: with SMTP id i5mr347199ejj.203.1603768506509; Mon, 26 Oct 2020 20:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603768506; cv=none; d=google.com; s=arc-20160816; b=1LGgYR/fKVh+PUmimlVkStWSC1V8Mr9RrVxRq4USjcAlAxKwROs8iWvVQeEHNdOiAi rKPvYxAajkDmCFgapW/C+HPYVZLM8wNFT3sKEDofGDcTcoQ95lXSFjt1ZOvEjTE5DoaG lcwYUmjDfQo8GMbjGiJxyDTL+1I+116C9Ff4VxluVGO2qZHXSSAqi4uRz/hf2oMrK5r5 GV6a2iPOQcuvsLFiQCRePqWvsFA+egS8+UyYwTjPetmd4Yw78GLzVrXu2oXGqrcP045t NBPpSoV+A1xMxxlDmPVMUD1cpT2AGqENhOq/Oo30SEZHaqczYjJA/g/EdSaBlY2bRSZr MLRA== 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:date:dkim-signature; bh=RjIEcrOh3c0uZaMjpWWeZ8+EU1c02NwkhxKXwTg4c4Q=; b=XFxduPNPpq2g0TH/KdzMh8FMaDUnRWzEfbNUkbrLXQuh9Rl0RsArCMaBArvh6Oapo9 yOCqhOl1d1MMSDL/LhaX4zWloVNAiEJSzEpTiQB6X1wUdPoNh/AKn1YeqCrcUF9HLw2C 4JvePvffM3hhMwzwDkOHPgI/PihtiHK7mRuzaxwVXhmy+LWb7YgRge4Mj2p92To7xnPg jaJDaRiytGRq55a/ZjUT34+/NqCKrzqbFpZeQoxmyosVheOKrgPu08db/m6G6xrWBqNv IvvDlZaqXgwZfaBRwD4GqgGEhw8lOhkpvuZ3Wn0hOa3lBMW8axvb+xRAiM846iui74NT zliw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="h/LKASGj"; 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 b17si7121596edx.263.2020.10.26.20.14.44; Mon, 26 Oct 2020 20:15:06 -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; dkim=pass header.i=@kernel.org header.s=default header.b="h/LKASGj"; 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 S1792687AbgJZTOH (ORCPT + 99 others); Mon, 26 Oct 2020 15:14:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:51198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1737873AbgJZTJv (ORCPT ); Mon, 26 Oct 2020 15:09:51 -0400 Received: from sol.localdomain (172-10-235-113.lightspeed.sntcca.sbcglobal.net [172.10.235.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 69779207C4; Mon, 26 Oct 2020 19:09:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603739390; bh=2IS64HnRc9y+q8Z5MiJRIZdsBB3GJPhRkgeyWqltGDA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h/LKASGjJkVprsSmMg8GqFQLrl5ou0F3gi1tBM8CJ8irI92i9wmzybBnIh4+62iRH Bu1pp8ffjCos+dunaOvrrSjjNUxHbg8l5rihlKx5xvIAbtOFUKlWNNTKXMI8DdDI7j Ubi03oOFWXRLPCXdTa5l4POmqywQxrcJfyLL3FcM= Date: Mon, 26 Oct 2020 12:09:48 -0700 From: Eric Biggers To: Daeho Jeong Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong , kernel test robot , Dan Carpenter Subject: Re: [PATCH v3 2/2] f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl Message-ID: <20201026190948.GM858@sol.localdomain> References: <20201026041656.2785980-1-daeho43@gmail.com> <20201026041656.2785980-2-daeho43@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201026041656.2785980-2-daeho43@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 26, 2020 at 01:16:56PM +0900, Daeho Jeong wrote: > From: Daeho Jeong > > Added a new F2FS_IOC_SET_COMPRESS_OPTION ioctl to change file > compression option of a file. > > struct f2fs_comp_option { > u8 algorithm; => compression algorithm > => 0:lzo, 1:lz4, 2:zstd, 3:lzorle > u8 log_cluster_size; => log scale cluster size > => 2 ~ 8 > }; > > struct f2fs_comp_option option; > > option.algorithm = 1; > option.log_cluster_size = 7; > > ioctl(fd, F2FS_IOC_SET_COMPRESS_OPTION, &option); > > Signed-off-by: Daeho Jeong > Reviewed-by: Eric Biggers Likewise, please don't add Reviewed-by until it is explicitly given. The code looks fine now, but this is still missing any explicit mention of documentation, tests, or use cases. > Reported-by: kernel test robot > Reported-by: Dan Carpenter It's best not to use Reported-by for fixes that get folded in to a patch, since Reported-by makes it seems like the patch itself is a bug fix. I recommend mentioning folded-in fixes informally in the commit message instead, e.g. "Folded in fix for build breakage reported by kernel test robot.". - Eric