Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1567997pxj; Fri, 4 Jun 2021 19:08:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3TbU3Zs032/lS4m/l67I398X0mm8Dvb3bFnbXpZiXN8KY0P/pylB3kjy4eJWaWIBBzbem X-Received: by 2002:a17:906:14d1:: with SMTP id y17mr7095094ejc.365.1622858920976; Fri, 04 Jun 2021 19:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622858920; cv=none; d=google.com; s=arc-20160816; b=RAVvYx9sl0GVAYnTf/MRmX+pCLftU4vn3lhtXTm5z9bbgtuni7438bSI2xGXyEwg8L KVdgzxH0KCMCHDFHRv7gKFVv5qda5O9zFysBUbTm1FFiiyVx0Ou7P0Gn/J2AQHtmZGgc 7RI1RDihhoiG1gtYoNmpGFZ+shJWX5kGMEkuVSfDu/RvVYi8o7GsHgJyqU3UbokqQLzg gysyiDSktF3KxVWJ675xy6xj4lD9MWePrwUulZnKF2Da0aCJG/Mlzfpbz3rJHnYzqVVH 1Mjg7KHmjpDB1V40/Wkfrd2PvdOvH51R/wkTU8qKG1M8PKmxJoVLqaf4WkCyXWNs1nYD XVgw== 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=ndSn5YK7iSAunB//PEjmP5iAG3RsYXvcwmLXfWwhmwU=; b=QbZdiRO738Uss8VsWtZ9+z+AWKtaadEVvcDEgGAKX8JiX88llQ1cWCyJKxQU6K8v4r YhTzvVVzsi/RTteJild8AcOI2cCFaJalXJDYB4olC7FAPk8mTptWBe+Ui0Gpf//FcI7t i2iSQlqv3SyDPldpQs94kcyPYEeCx4yRArSFfIv8EDC5WkTxwJK7pewEIQxk35fVANhs rXaArXZ+EvPijS5nr+9nKs9LxcJHuluKTMJfio4FAFNBQa4561bxLBDiKTC55s5CC4E2 BokU9kde46M7BHlQtHJjw9TBudUbmOwgisAjHirU0W9XQEp6NnaRigtx9c98JbNIaFB/ AiTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FjKa4X0Q; 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 q25si6336593ejz.235.2021.06.04.19.08.18; Fri, 04 Jun 2021 19:08:40 -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=k20201202 header.b=FjKa4X0Q; 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 S231297AbhFECEp (ORCPT + 99 others); Fri, 4 Jun 2021 22:04:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:38914 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230169AbhFECEo (ORCPT ); Fri, 4 Jun 2021 22:04:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8B9D9613BF; Sat, 5 Jun 2021 02:02:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622858577; bh=r4EcPxMJSzOnJumoMVDFIEmBiosX3pqnj+rFFKZBTdE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FjKa4X0QV01OweMLfCz0TTewqTcl6egVJWc2mp0IcCUaSoGJzARjsVyOla9pxZjj3 rdJtQjz0dLc+E5jqGH47SDe++quTm5n7wfLb08ol+TZFXf0HE23Bu/dux2JEZ84etk Cz9Oj4vqYJylSd0aBVQ5M9czWqSagDxF2lYOmLJNJc3DeZlh//33XjqwpDT5TJLbMw +nrUrrfFyLoopuNTObNYavgzY8CgeuY4uW2aLxSogc9IJ9q1GP6WdKoEqtk+Qo2LdA ne5HzTjF9IubV9BiSlks7yn4OsShh8tMKKOLBoWtHyoa7Y1+FH41CEu82VztDTt6ij jiLd5oX4Tk+CA== Date: Fri, 4 Jun 2021 19:02:56 -0700 From: Eric Biggers To: Jaegeuk Kim Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH 3/3] f2fs: clean up /sys/fs/f2fs//features Message-ID: References: <20210605003210.856458-1-jaegeuk@kernel.org> <20210605003210.856458-3-jaegeuk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210605003210.856458-3-jaegeuk@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 04, 2021 at 05:32:10PM -0700, Jaegeuk Kim wrote: > +What: /sys/fs/f2fs/feature/ features/, not feature/. > +/* > + * Note that there are three feature list entries: > + * 1) /sys/fs/f2fs/features > + * : shows runtime features supported by in-kernel f2fs along with Kconfig > + * - ref. F2FS_FEATURE_RO_ATTR() > + * > + * 2) /sys/fs/f2fs/$s_id/features > + * : shows on-disk features enabled by mkfs.f2fs, used for old kernels > + * > + * 3) /sys/fs/f2fs/$s_id/feature_list > + * : shows on-disk features enabled by mkfs.f2fs per instance. > + * this list covers old feature list provided by 2) and beyond > + * - ref. F2FS_SB_FEATURE_RO_ATTR() > + */ It would be helpful to make it clear which of these use the one-feature-per-file convention and which use the comma-separated features convention. And also whether future features will be listed in both (2) and (3), or just in (3). Otherwise this patch looks good -- thanks! - Eric