From: Daeho Jeong <daeho43@gmail.com> To: Greg KH <gregkh@linuxfoundation.org> Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong <daehojeong@google.com> Subject: Re: [PATCH v3] f2fs: add symbolic link to kobject in sysfs Date: Mon, 6 Jul 2020 08:47:07 +0900 [thread overview] Message-ID: <CACOAw_yweR--34vBXBV07xEGxGhO2r9o_XYVw6h9dMP=C6zp5Q@mail.gmail.com> (raw) In-Reply-To: <20200703141359.GA2953162@kroah.com> > No Documentation/ABI/ entry for your new sysfs file/link? This is for adding a symbolic link to a pre-existed /sys/fs/f2fs/<disk> directory and it means /sys/fs/f2fs/<mount> points to /sys/fs/f2fs/<disk>. 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/<disk> 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
WARNING: multiple messages have this Message-ID (diff)
From: Daeho Jeong <daeho43@gmail.com> To: Greg KH <gregkh@linuxfoundation.org> Cc: Daeho Jeong <daehojeong@google.com>, kernel-team@android.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH v3] f2fs: add symbolic link to kobject in sysfs Date: Mon, 6 Jul 2020 08:47:07 +0900 [thread overview] Message-ID: <CACOAw_yweR--34vBXBV07xEGxGhO2r9o_XYVw6h9dMP=C6zp5Q@mail.gmail.com> (raw) In-Reply-To: <20200703141359.GA2953162@kroah.com> > No Documentation/ABI/ entry for your new sysfs file/link? This is for adding a symbolic link to a pre-existed /sys/fs/f2fs/<disk> directory and it means /sys/fs/f2fs/<mount> points to /sys/fs/f2fs/<disk>. 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/<disk> 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 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
next prev parent reply other threads:[~2020-07-05 23:47 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-03 6:54 [PATCH v3] f2fs: add symbolic link to kobject in sysfs Daeho Jeong 2020-07-03 6:54 ` [f2fs-dev] " Daeho Jeong 2020-07-03 8:18 ` Chao Yu 2020-07-03 8:18 ` Chao Yu 2020-07-03 14:13 ` Greg KH 2020-07-03 14:13 ` [f2fs-dev] " Greg KH 2020-07-05 23:47 ` Daeho Jeong [this message] 2020-07-05 23:47 ` Daeho Jeong 2020-07-08 10:05 ` Greg KH 2020-07-08 10:05 ` [f2fs-dev] " Greg KH 2020-07-09 1:07 ` Daeho Jeong 2020-07-09 1:07 ` [f2fs-dev] " Daeho Jeong
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='CACOAw_yweR--34vBXBV07xEGxGhO2r9o_XYVw6h9dMP=C6zp5Q@mail.gmail.com' \ --to=daeho43@gmail.com \ --cc=daehojeong@google.com \ --cc=gregkh@linuxfoundation.org \ --cc=kernel-team@android.com \ --cc=linux-f2fs-devel@lists.sourceforge.net \ --cc=linux-kernel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.