Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Curiousity on a Wish rating
Message
From
05/02/2003 18:31:52
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00748446
Message ID:
00749632
Views:
18
Mike and Vlad and Steve,

I don't think there can be any distinction between the two - local or (file) server.

I spent the day finding and reading on this subject and I've summarized what I found in thread #749598. In essence, for this issue...
VFP will issue the FlushFileBuffers (I presume) and it will be intercepted by the "Network Redirector" if it is for a non-local file. In this case the I/O will be passed to the (file) server for execution, which I assume will include tending to the cache on the local machine.

In summary, VFP cannot and does not make any distinction as to the location of the file in question, and that is by design of the OS. All that VFP does is to issue I/O commands to the LOCAL file system and then the OS does what it has to do, totally transparently to VFP or any other standard application.

So I think my wish is presently well phrased and I plan to leave it as-is unless new information is forthcoming.

cheers

>(snip)
>>I agree with this wish only for LOCAL (CLIENT) data. There IS a way (as far as I know) to tell OS to do not buffer or cache certain files, locally.
>>
>>Jim, I think you should re-phrase this wish to make it more clear. FLUSH should control caching only for LOCAL computer, where it have control and power to do so. It should not do this for any other kind of storage, because no controlling on the way that storage manages cache and writes.
>>
>>Please, improve your wish.
>>
>>If it is only about SERVER - I also would vote against it, because, TECHNICALLY, I see it useless and very hard to implement.
>>
>
>Vlad,
>
>I'm in total agreement. Speaking for myself, it was understood that the issue is about the local machine. Client/Server and other networked cases are obviously another matter altogether - a red herring in the context of this wish. Let's not forget that VFP is also a tool for building standalone applications that run locally. The wish, for me, is that FLUSH do what it says in the documentation, what it used to do before things got "advanced". Totally disabling write-caching is rather heavy-handed, and it would be nice not to burden VFP programmers with the intricasies of Window API and version dependencies in such a basic operation.
>
>Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform