lkml.org 
[lkml]   [1998]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ext2fs enhacement/fix [re: shrinking directories]
> 
> Rough outline of steps I think would work:
> 1. Read directory information
> 2. Pack and possibly sort it, meanwhile other programs can still access
> the directory information
> 3. Check change time stamp and if not changed replace the directory
> information with the new one
> If changed try again.
>
The problem of this solution is (when done on mounted fs) that noone can be
reading the directory when we are replacing the old copy (dir->f_pos will be bad :() and
I'm not sure how often this is satisfied on a busy servers with big dirs...

Bye Honza



-
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.altern.org/andrebalsa/doc/lkml-faq.html

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