Marko Vojinovic wrote:
Well in that case the app should say that the data has been
moved/copied
to a buffer, rather than to the destination.
But the application has no way to know that.
A user might think that the data transfer is complete when in
reality
it isn't, and this can potentially lead to data loss or corruption.
Suppose I wait for the interface to tell me that the file has been
copied, and then I immediately put my laptop to standby, and try to
access the NFS copy of the file from another machine. Data corruption
is guaranteed, because the laptop went into standby before the
transfer has actually completed.
Don't use async mode if you care about these things.
Kevin Kofler