From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D9D7C4363A for ; Mon, 26 Oct 2020 19:13:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 365D12080A for ; Mon, 26 Oct 2020 19:13:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603739601; bh=AHD3Q5NMnAqW/PwhjTlDcGnCMCU3a5L5yG8ci6S0zhI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Kz9iT9FaJt/WGSeZv+By3ECHJHcuQ1l/+AcwOQN1Si8zZojnbUNQA/TTBj8+f+nv1 6J3M9ZhwGUTyDpbbSDFCv5FfF01Kl9tnHABCILD4XwEmDbmn3qJXZ0SdsE2ftYCCO0 93xea1bIzX4yLopDkPKPv1CWS6+UHphxcldi0Avo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1792606AbgJZTNR (ORCPT ); Mon, 26 Oct 2020 15:13:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:49184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404216AbgJZTEI (ORCPT ); Mon, 26 Oct 2020 15:04:08 -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 EEBF820720; Mon, 26 Oct 2020 19:04:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603739048; bh=AHD3Q5NMnAqW/PwhjTlDcGnCMCU3a5L5yG8ci6S0zhI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=je72NyXI3XtA5RGI7O1keBA4S4KImpY9W/vjiVJSHGSVtL2pwKwmGfA5MP6TvN5lJ p/fBZvTsQYNNIVnr0cVEUuAxTTbUYSjyqcOuR4cZuEp99fi2ohvYGBSmF5bebvB/Uz /6GjcduJqU53mmtwYXmfSYHEcxZ/8aEbiHjM6YNQ= Date: Mon, 26 Oct 2020 12:04:06 -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 Subject: Re: [PATCH v3 1/2] f2fs: add F2FS_IOC_GET_COMPRESS_OPTION ioctl Message-ID: <20201026190406.GL858@sol.localdomain> References: <20201026041656.2785980-1-daeho43@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201026041656.2785980-1-daeho43@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 26, 2020 at 01:16:55PM +0900, Daeho Jeong wrote: > From: Daeho Jeong > > Added a new F2FS_IOC_GET_COMPRESS_OPTION ioctl to get 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; > > ioctl(fd, F2FS_IOC_GET_COMPRESS_OPTION, &option); > > Signed-off-by: Daeho Jeong > Reviewed-by: Eric Biggers Please don't add Reviewed-by until it is explicitly given. The actual code looks fine, but there's still no mention of documentation, tests, or use cases. - Eric