Memo magic is really distressing filepro user
Fairlight
fairlite at fairlite.com
Mon Aug 7 09:05:01 PDT 2006
With neither thought nor caution, Kenneth Brody blurted:
> Quoting Fairlight (Fri, 4 Aug 2006 21:49:18 -0400):
> [... export and close ...]
> > Incidentally, that was precisely the problem this gentleman had;
> > there was a race condition between end of exporting and a command that
> > was to do something with the file via system(). We even tried inserting
> > pauses, to no effect. That buffer plain does -not- flush no matter how
> > long you give it. We're talking about an attempted 15 second sleep
> > failing to produce results. It's just obviously not hitting the VFS
> > layer for commit to disk.
>
> Did you "close" or "write" the export? If not, then what magic are you
> expecting will flush buffers during a 15-second sleep?
1) I didn't write the original code or there would have been a close to
begin with. Actually, I'd never have used export, I'd have used raw file
I/O commands. I don't like export, never have.
2) I was working (originally) under the assumption that the data had been
written from the buffer to disk, and the VFS may just not have caught up;
thinking perhaps that the data was still cached for write.
Obviously, that proved an incorrect assumption.
mark->
More information about the Filepro-list
mailing list