Messages in this thread | | | Date | Mon, 20 Jul 1998 12:13:41 +0200 | From | Jan Kara <> | Subject | Re: 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
| |