Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp4087324ybt; Sun, 5 Jul 2020 16:49:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlrYFz/RCuqgnqF9Ezg2a0A0YA3u4IX1eM/yoe4x3eDWoJAdy2aug7QR61JOgF2tsz8scC X-Received: by 2002:a05:6402:b23:: with SMTP id bo3mr53921786edb.331.1593992961525; Sun, 05 Jul 2020 16:49:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593992961; cv=none; d=google.com; s=arc-20160816; b=oohgV4iq096rHx9iVnscND4D/OPrMPr4ePoDXN8bOcVNKkkPl9e9RdabbODAClNLV+ IrYtxA1QE6IaoUD94Wl8ghKKVdOKyirgQHx93JFFSwGrje6jNwY8F/+i3OOett/sSr9d KkX81Rl3CDbCwKZE8kpghCZ7HBjSxgVuP+zcHiWEPAwrq/Sz1ROkT18V7CdlmuZSLoSN 1QJd0j3etrTyIOyNGFp4pXDfB+JobspmONv0zZ6LwpWqVQ2GvLUDCYKmyJiEQ6BZgLBd o+AMUXiGHJWlzLo6hfVi+K4ZinluIeg8ElykT2n5dgIS2897n1+BdffIVrGM/QthJNVA MUOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nPQESZvLzBCiWC6EG5DKB+ET67N7b5/1MLY//mTPGek=; b=ZeKXX7iZayz0bDqav4y/4udDmdK0gyP8v9I4jpfEa2IfOqGloomht4FuXtSCSMBixH G+fzQQ4xvOTT/OkWLn87RH8/NAKacKXojOMFdZ30FiFfSXUYoiQ9nMv5Zmg+l00/EjVV 1v2k7qVHFIx4OUw4BCOiP8iRv+c+yyAM1aHZc4tuTHc7wgwklHkU9HcmE1CkkoyR46ta u3s3A1Qi/JacCDdfO3y1gH7Tla+T8AIiyZz3r8Z2LRsc5G/HzU96gjyEOmQYNDtu9HYW D+CJexvomMa4niNlFVMIlk3/r0GD3uFglEsT2a/pgxiD/9FJZMgGP6bJClqxaIWjIG+u Wfzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WNPph1Rn; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si12170435ejy.84.2020.07.05.16.48.58; Sun, 05 Jul 2020 16:49:21 -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=@gmail.com header.s=20161025 header.b=WNPph1Rn; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728266AbgGEXrW (ORCPT + 99 others); Sun, 5 Jul 2020 19:47:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727970AbgGEXrV (ORCPT ); Sun, 5 Jul 2020 19:47:21 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EAEBC061794 for ; Sun, 5 Jul 2020 16:47:20 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id g139so21589424lfd.10 for ; Sun, 05 Jul 2020 16:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nPQESZvLzBCiWC6EG5DKB+ET67N7b5/1MLY//mTPGek=; b=WNPph1Rnfmu9y42wUJuMYOQV7Xxxcg/Ad/Vu9/PaQV2YOJMQVNnHf0Fs88lAv3CnFL 9xR+pATJo3x4tN55YQG/TXCBad3pmyGqmA5fPyMXpF+qlIb3XLN3p5G0wVIv7tbvr1Wu 5LKC9INYTOeYYMgE0O1rzTcifWTtOb9YDy9J4KjiAtkFhgFxNCnntWdneCq0V7PFMz0H lkd0TdbUniexNcGPTGfLovLYCeYAjT6NCwsPjmeDgOHAR7YTu0EKLqllwIaaDjs6EO/4 ynDAM1q/wv7+wIfZNT6VIbEjQdVwjvTTfbqnvs8V9HBvv4a8HXZ5SV/jUJI+YVlJ7xK2 bU2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nPQESZvLzBCiWC6EG5DKB+ET67N7b5/1MLY//mTPGek=; b=jV9fzjKQBua2GvxnR9z/1rBaYh4uuGzcgWPh1E+ksbLh23tsEsASUQwdFul118rVSz h3vBEnh3G3ogHwCXKygmvWWfnaO3QRqai9NxUIOcQtzS8nvUmPMgVXtbZw9k9IgLFtHv J1QHBCvWA/y3cc+rgkOB1NRQcvEcZ4EOq/dWVTvA38JE4TYo9Woh5wXk/77vqAHKxNWN H2CnO9A3fKFe5L2LaSbgyie3/S/gYt8JX+IHRoCwAyARwoBjlf7u/1qHLnyccmOtKSoG 4VNumbRIMEYYeHs2LEdH4+HhSuSiiM9X2J+bDxxAKWK/bcY6oSGM01EvvEe7k/METc1v SJZw== X-Gm-Message-State: AOAM533Lg5bvuuTq9cLOwMbSHYHLj4udgQf3bOn/S8hMz4yo4EkVTQYu tZFs0Hkj+BH6rYcfnPg4Iuctg32aXqoCyV38bCQ= X-Received: by 2002:ac2:5443:: with SMTP id d3mr28104550lfn.121.1593992838852; Sun, 05 Jul 2020 16:47:18 -0700 (PDT) MIME-Version: 1.0 References: <20200703065420.3544269-1-daeho43@gmail.com> <20200703141359.GA2953162@kroah.com> In-Reply-To: <20200703141359.GA2953162@kroah.com> From: Daeho Jeong Date: Mon, 6 Jul 2020 08:47:07 +0900 Message-ID: Subject: Re: [PATCH v3] f2fs: add symbolic link to kobject in sysfs To: Greg KH Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > No Documentation/ABI/ entry for your new sysfs file/link? This is for adding a symbolic link to a pre-existed /sys/fs/f2fs/ directory and it means /sys/fs/f2fs/ points to /sys/fs/f2fs/. I already added the description of this in Documentation/filesystems/f2fs.rst. > > And what does this help with? Some system daemons in Android access with the pre-defined sysfs entry name in the json file. So whenever the project changes and the partition layout is changed, we have to follow up the changes and modify /sys/fs/f2fs/ name in the json file accordingly. This will help them access all the f2fs sysfs entries consistently without requiring to know those changes. > > If it's really needed, why don't we do this for all filesystem types? This is for the daemon to change the mode of only F2FS with the power hint of Android. > > thanks, > > greg k-h