lkml.org 
[lkml]   [2009]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 12/13] sysfs: Propagate renames to the vfs on demand
Quoting Tejun Heo (tj@kernel.org):
> Hello,
>
> Eric W. Biederman wrote:
> > It isn't what I want but it is what the VFS requires. If let the vfs
> > continue on it's delusional state we will leak the vfs mount and
> > everything mounted on top of it, with no way to remove the mounts.
>
> This is caused by not having any way to prevent deletion on
> directories with submounts, right? How does other distributed
> filesystems deal with directories with submounts going away underneath
> it?

Ooooh. I see, I was thinking only about the rename case, and forgot
this was the path for deleted files, too. For the rename case it
should be ok to let the dentry be put since the submounts will be
accessible at the new location, right? Should that be handled
separately?

-serge


\
 
 \ /
  Last update: 2009-11-09 15:17    [W:0.102 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site