linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6 resend] statfs: handle mount propagation
@ 2018-05-02 15:42 Christian Brauner
  2018-05-02 15:42 ` [PATCH 1/6 resend] fs: use << for MS_* flags Christian Brauner
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Christian Brauner @ 2018-05-02 15:42 UTC (permalink / raw)
  To: viro, torvalds, linux-fsdevel, linux-kernel, hch
  Cc: tglx, kstewart, gregkh, pombredanne, Christian Brauner

Hey,

This is the second resend of this patchset. I'm not sure whether it has
simply been overlooked but the number of people get_maintainer.pl was
rather small and seemed a little random so I added Linus and Christoph,
two people I know that do look at VFS stuff at least from time to time,
although they weren't listed by get_maintainer.pl. I hope that's ok.

This little series
- unifies the definition of constants in statfs.h and fs.h
  *Note, that Andreas has expressed doubts whether this unification is
  useful. Please see https://lkml.org/lkml/2018/4/13/571 . I still think
  it is but I'm happy to drop these two patches if others agree.*
- extends statfs to handle mount propagation. This will let userspace
  easily query a given mountpoint for MS_UNBINDABLE, MS_SHARED,
  MS_PRIVATE and MS_SLAVE without always having to do costly parsing of
  /proc/<pid>/mountinfo.
  To this end the flags:
  - ST_UNBINDABLE
  - ST_SHARED
  - ST_PRIVATE
  - ST_SLAVE
  are added. They have the same value as their MS_* counterparts.

Thanks!
Christian

Christian Brauner (6):
  fs: use << for MS_* flags
  statfs: use << to align with fs header
  statfs: add ST_UNBINDABLE
  statfs: add ST_SHARED
  statfs: add ST_SLAVE
  statfs: add ST_PRIVATE

 fs/statfs.c             | 16 +++++++++++++++-
 include/linux/statfs.h  | 30 +++++++++++++++++-------------
 include/uapi/linux/fs.h | 33 +++++++++++++++++----------------
 3 files changed, 49 insertions(+), 30 deletions(-)

-- 
2.17.0

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/6 RESEND] statfs: handle mount propagation
@ 2018-04-18  9:27 Christian Brauner
  2018-04-18  9:27 ` [PATCH 1/6 RESEND] fs: use << for MS_* flags Christian Brauner
  0 siblings, 1 reply; 14+ messages in thread
From: Christian Brauner @ 2018-04-18  9:27 UTC (permalink / raw)
  To: viro, kstewart, tglx, pombredanne, gregkh, linux-fsdevel,
	linux-kernel, akpm
  Cc: Christian Brauner

Hey,

This is a resend of this to CC more people and because it seems to have
gotten lost in the prior merge window. I should've sent it afterwards
right away.

This series:
- unifies the definition of constants in statfs.h and fs.h
  Please note the comments by Greg and others on this part:
  https://patchwork.kernel.org/patch/10340403/
  https://patchwork.kernel.org/patch/10340379/
  I haven't yet changed the fs.h and statfs.h header changes to not
  bitshifts. I wanted to wait what Al would think of it.
- extends statfs to handle mount propagation. This will let userspace
  easily query a given mountpoint for MS_UNBINDABLE, MS_SHARED,
  MS_PRIVATE and MS_SLAVE without always having to do costly parsing of
  /proc/<pid>/mountinfo.
  To this end the flags:
  - ST_UNBINDABLE
  - ST_SHARED
  - ST_PRIVATE
  - ST_SLAVE
  are added. They have the same value as their MS_* counterparts.

The patchset was made against Al's vfs/for-next tree.

Thanks!
Christian

Christian Brauner (6):
  fs: use << for MS_* flags
  statfs: use << to align with fs header
  statfs: add ST_UNBINDABLE
  statfs: add ST_SHARED
  statfs: add ST_PRIVATE
  statfs: add ST_SLAVE

 fs/statfs.c             | 16 +++++++++++++++-
 include/linux/statfs.h  | 30 +++++++++++++++++-------------
 include/uapi/linux/fs.h | 33 +++++++++++++++++----------------
 3 files changed, 49 insertions(+), 30 deletions(-)

-- 
2.17.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-05-03 13:57 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-02 15:42 [PATCH 0/6 resend] statfs: handle mount propagation Christian Brauner
2018-05-02 15:42 ` [PATCH 1/6 resend] fs: use << for MS_* flags Christian Brauner
2018-05-02 15:42 ` [PATCH 2/6 resend] statfs: use << to align with fs header Christian Brauner
2018-05-02 15:42 ` [PATCH 3/6 resend] statfs: add ST_UNBINDABLE Christian Brauner
2018-05-02 15:42 ` [PATCH 4/6 resend] statfs: add ST_SHARED Christian Brauner
2018-05-02 15:42 ` [PATCH 5/6 resend] statfs: add ST_SLAVE Christian Brauner
2018-05-03  2:36   ` Linus Torvalds
2018-05-03 13:17     ` Christian Brauner
2018-05-02 15:42 ` [PATCH 6/6 resend] statfs: add ST_PRIVATE Christian Brauner
2018-05-02 16:09 ` [PATCH 0/6 resend] statfs: handle mount propagation Al Viro
2018-05-03 13:04   ` Christian Brauner
2018-05-03 13:43     ` Al Viro
2018-05-03 13:57       ` Christian Brauner
  -- strict thread matches above, loose matches on Subject: below --
2018-04-18  9:27 [PATCH 0/6 RESEND] " Christian Brauner
2018-04-18  9:27 ` [PATCH 1/6 RESEND] fs: use << for MS_* flags Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).