Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1392367 > unrolled thread
| Started by | Tejun Heo <tj@kernel.org> |
|---|---|
| First post | 2016-05-02 18:40 +0200 |
| Last post | 2016-05-02 18:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 2/2] mountinfo: implement show_path for kernfs and cgroup Tejun Heo <tj@kernel.org> - 2016-05-02 18:40 +0200
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Date | 2016-05-02 18:40 +0200 |
| Subject | Re: [PATCH 2/2] mountinfo: implement show_path for kernfs and cgroup |
| Message-ID | <rup35-6RX-13@gated-at.bofh.it> |
On Tue, Apr 26, 2016 at 09:36:23AM -0500, Serge E. Hallyn wrote: > > In the ideal world there is no mountinfo file, but /proc/self/mountinfo/<id>/ > > directory with individual files, so every subsystem and filesystem has > > absolute freedom to store there all relevant information. The result will > > be also lucky kernel that does not have to always generate entire huge > > mountinfo file for all mountpoins... etc. :-) > > Yeah mountinfo does seem like a big stick to swing around every time I want > one little piece of information. Also mght be good to have per-fstype > directories so we can just look under /proc/self/mountsdir/cgroupfs/ for > only cgroupfs <id>s. > > There we might also find open fds for source and mountdir, kinda fitting > in with previous discussions of separating bdev_open() and mountat(). > > BTW, assuming this would in fact report source and mountpoint location > with fds, these would really (through realpath) be reported relative to > the reader's namespace, as I'm doing and advocating here. So, what's the consensus here? Is everyone okay with the posted patches? Thanks. -- tejun
Back to top | Article view | linux.kernel
csiph-web