lkml.org 
[lkml]   [2008]   [Apr]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From hooanon05@yahoo ...
SubjectRe: [RFC PATCH 0/2] Union Mount: Directory listing in glibc
DateThu, 01 May 2008 10:39:14 +0900
Erez Zadok:
> Here's one idea:
> 
> 1. Your main data structure is a linear array of struct dirents.  You
	:::

All these points are very similar to the actual implementation in AUFS,
except 'Optimization 2: decide memory size by stat().'
- the size may not be enough for storing every dirent, it depends upon
  the filesystem's implementation.
- the size may be a block size which can be larger than page size even
  if it is a empty dir, also it depends upon the filesystem.


Junjiro Okajima


\
 
 \ /
  Last update: 2008-05-01 03:53    [from the cache]
©2003-2008