Re: Data on demand for intermezzo type fs?
Robert Read <[email protected]> Tue, 28 Jan 2003 09:39:15 -0800
| Newsgroups | gmane.comp.file-systems.intermezzo.devel |
|---|---|
| Message-ID | <[email protected]> |
* Troy Benjegerdes ([email protected]) [030127 21:25]: > So, after seeing the following code in intersync's fileset.c: > > if (cache->cache_fstype == FSTYPE_VINTERMEZZO && > izo_ioc_mark_fset(root_fset->fset_mtpt_fd, ~0, FSET_DATA_ON_DEMAND)) > g_error("Unable to set FSET_DATA_ON_DEMAND: %s (%d).\n", > g_strerror(errno), root_fset->fset_mtpt_fd); > > > I began wondering what would be the right way for an option for data on > demand for regular 'intermezzo' type filesystems? (and then how would one > flush old files that hadn't been accessed in awhile?) Probably as a command line option to intersync, and one that was saved in the config file. > > What are the problems with this idea? There is no code to flush old data, and no code yet to flush files when the cache runs out of space. Of course, vintermezzo has the same problem, so fixing this would fix both. > > Second, why are the checks for cfg.cfg_hoard_conf and cfg.cfg_reint_only > #if 0'ed out in intersync.c? Does it not work well, or has it just not > been tested? This is leftover code from my early work on using intermezzo as a root filesystem. I don't think that particular code ever worked, although I was eventually able to use izo as a root. robert > > Thanks! > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > intermezzo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/intermezzo-devel ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com