diff --git a/MountRead.png b/MountRead.png index 5b9fe46..c4f7787 100644 Binary files a/MountRead.png and b/MountRead.png differ diff --git a/MountWrite.png b/MountWrite.png index 47d2464..47d236e 100644 Binary files a/MountWrite.png and b/MountWrite.png differ diff --git a/zenuml.txt b/zenuml.txt index f79da21..f79dcad 100644 --- a/zenuml.txt +++ b/zenuml.txt @@ -1,20 +1,23 @@ -WeedMount.Start{ - meta_updates = WeedFiler.PublishSubscribe{ +Mount.Background{ + meta_updates = Filer.PublishSubscribe{ } } -fileContent = WeedMount.ReadFile{ - location = WeedFiler.LookupVolumeId{ +Content = Mount.Read{ + metadata = LocalMetadata{ + } + location = Filer.LookupVolumeId{ location = CachedLookup{} + location = Master.IfCacheMiss{} } chunks = VolumeServer.ReadChunks(){} } -success = WeedMount.WriteFile{ - fileIds = WeedFiler.Assign{ +success = Mount.WriteFile{ + fileIds = Filer.Assign{ fileIds = Master.Assign{} } success = VolumeServer.WriteChunks(fileId){} - success = WeedFiler.WriteMetaData{ + success = Filer.WriteMetaData{ success = FilerStore.SaveMetaData{} VolumeServer.PurgeOldChunks{} } @@ -23,11 +26,5 @@ success = WeedMount.WriteFile{ metadata = Filer.Read(path){ metadata = FilerStore.Lookup(path) } -volumeServerLocation = WeedMaster.Lookup(volumdId) content = VolumeServer.Read(fileId) { } - -fileContent = WeedMount.ReadFile{ - metadata = WeedFiler.ReadMetaData{} - chunks = VolumeServer.ReadChunks(){} -}