Re: [RFC] Union Mount: Readdir approaches

From: hooanon05
Date: Sun Sep 09 2007 - 22:18:03 EST



Hello Jeff,

"Josef 'Jeff' Sipek":
> Unless I missunderstood something, Unionfs uses the same approach. Even
> Unionfs's ODF branch does the same thing. The major difference is that we
> keep the cache in a file on a disk.

The approach unionfs-2.1.2 took differs from mine.
Major difference is,
- in this approach, the cache in struct file is the completed virtual
disk block for the dir.
- readdir doesn't have to call vfs_readdir when the cache exists and is
valid. simply calls filldir.
- it supports SEEK_END.


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