[prev in list] [next in list] [prev in thread] [next in thread]
List: intermezzo-cvs
Subject: CVS: intermezzo/lento/Lento/Bulk Desc.pm,1.42,1.43
From: Phil Schwan <pschwan () users ! sourceforge ! net>
Date: 2001-09-20 18:21:51
[Download RAW message or body]
Update of /cvsroot/intermezzo/intermezzo/lento/Lento/Bulk
In directory usw-pr-cvs1:/tmp/cvs-serv23877/Lento/Bulk
Modified Files:
Desc.pm
Log Message:
(cvs bailed without saving the commit message, so my incredibly detailed
one is gone. sigh. subversion is self-hosting, you know)
Summary:
Enable data-on-demand by adding something like ``data_on_demand="1"''
to a fileset configuration. During reintegration instead of initiating a
backfetch, we just create a sparse file. When a sparse file is opened in a
fileset doing DOD, presto does a file_open upcall, which takes care of the
fetch at that time.
(I apologize for some of the more spurious whitespace changes, mostly of
the tabs-to-spaces variety. I blame emacs, but I applaud its results. :)
lento:
- changed version number to 1.0.5.3
Lento/Fileset.pm:
- added data_on_demand flag
- if enabled, tell Presto about it at startup
Lento/Fsetdb.pm:
- abort if DOD is enabled, but fetchtype isn't rsync
Lento/Psdev.pm:
- added FSET_DATA_ON_DEMAND flag, a-la linux/intermezzo_fs.h
- added functions to set that flat
Lento/Bulk/Desc.pm:
- made a debug message slightly more informative
Lento/Filter/Upcall.pm:
- handle the new arguments to the file open upcall
Lento/InterMezzo/ReqHandler.pm:
- _start: store the request type and session, if any, on the heap for use in
completion
- finish: send a completion event to the sesion that initiated the request, if
desired
- BackFetch: renamed inodeinfo to pathinfo; pathinfo can now be either a scalar
with a relative pathname (in the upcall case) or a hash with the inode data
(in the backfetch case)
Lento/InterMezzo/UpcallHandler.pm:
- when we get a file open upcall, create a session to handle the fetchfile and
complete the upcall. There's a fair amount of code duplication here, and it
makes me sad, but I have faith that this whole tangled reintegration mess will
get cleaned up very soon as we move to DAFS packets.
Lento/KML/ReintLento.pm:
- reint_close: if this is a DOD fileset instead of downloading the new file,
truncate at least one block to create a sparse file that will be handled at
open() time
Index: Desc.pm
===================================================================
RCS file: /cvsroot/intermezzo/intermezzo/lento/Lento/Bulk/Desc.pm,v
retrieving revision 1.42
retrieving revision 1.43
diff -U2 -r1.42 -r1.43
--- Desc.pm 2001/08/18 23:28:43 1.42
+++ Desc.pm 2001/09/20 18:21:49 1.43
@@ -323,5 +323,5 @@
my $str;
- $str = "Bulk Descriptor:\n";
+ $str = "Desc Bulk Descriptor:\n";
if ($desc->iam_sink()) {
@@ -377,2 +377,4 @@
return $str;
}
+
+1;
_______________________________________________
intermezzo-commit mailing list
intermezzo-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/intermezzo-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic