Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp745417pxx; Mon, 26 Oct 2020 21:58:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl5Y9qmlxMmPpH6mD+jFnUIm/7gdy9YTpMvNw2eqcnx2Req7yv9O4+QE8n8TrBhnxGzx1q X-Received: by 2002:a17:906:48c:: with SMTP id f12mr634237eja.467.1603774716867; Mon, 26 Oct 2020 21:58:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603774716; cv=none; d=google.com; s=arc-20160816; b=ckQ1KjwpdFgPV4F1kYlKPpNIdaYLu2fUp+jev+UtIXwk1+Z2H+tVl8Ap04GnSE0YVf XHSOfSzjIoIgaDznniAn+bKEBtJ8GFalPsNiw9C9LSE+vg6dFPNn1k0PNj3/VfK8aC4B 5pqDSZ8Vv9xczux1/P2fboQgeG3AkGP9UPoI+unI+nxW2Y2HsqOQxw05Nlkp+td8XZda faCP8DjdPvtTys8FN3W5cDqaIeW8EV6dA+VY7mRQFuncmChOB8x2lZ0axh4DYNy1wKI3 IHQxtcb4ZULeV+T2YR+1zdV9VVm7MNPSqV9Ym0O6P8dLMkXt1soB3pi45GhErBq0mLmx gmkA== 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=8ERcOqmIfyV9y4Dk2HZVvYFHVo/if36iDL2Fb+b8P+s=; b=DsLi7h5lDLvB6HhFPf6Yy9uDpt7ACOhkgSi2h/zmxvmu8VcCoKSv1Rep6VuO9dDID7 83sW5w8UQQcgx/Q+SGQHm5NLEvojhUOHDnJJazfbm4+x9rwH17Fe62WMkDyn426Vmztx AOEc/avqiH667TKH+SX9yUE5gxgSjWAcFUL7mvpKHFo4N3lEl639osmDU8FhtTJuuJWS obOP8cFQa5EjrOQZN9tXt2UfnIWAk8kx6O1Zi4N/k4M6FG7Dn+MplnMx9FPlBmG4MnQL QoGsu74g4/e5N96Tu0hM0jAE3Wl0eTPJ79F6iqorewEzUpFmDTHZNWFZbA49eqmq+B/R vmAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=je72NyXI; 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 s5si200001ejx.585.2020.10.26.21.58.15; Mon, 26 Oct 2020 21:58:36 -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=je72NyXI; 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 S2504784AbgJZTNQ (ORCPT + 99 others); Mon, 26 Oct 2020 15:13:16 -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