lkml.org 
[lkml]   [1999]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fsync on large files
Alexander Viro <viro@math.psu.edu> wrote:
> > > mkdir a
> > > mkdir b
> > > mkdir a/c
> > > ln a/c b/c
> > > mkdir a/c/d
> > > mv b a/c/d

On Thu, 18 Feb 1999, Raul Miller wrote:
> > You might be able to get away with having a list of parents structure
> > on multiply linked directories, which would have to be mirrored in
> > dcache.

Alexander Viro <viro@math.psu.edu> wrote:
> And backtracing all possible ways?

We don't need all permutations, just all ancestors.

> And that means sucking *all* parents (and their parents, etc.)
> into dcache on a lookup.

We already have to do this. Just don't confuse the existence of a
directory in the dcache with the existence of every path to that directory
being in the dcache. It should be fine to have just the first path to
the directory in the dcache -- as long as this also is true for every
ancestor directory.

It still looks doable [not necessarily pretty, but that's another issue].

--
Raul

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.275 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site