[Samba-Technical] Wrtiing files from one linux to another linux

Urban Widmark urban at teststation.com
Thu Aug 29 23:08:00 GMT 2002

On Thu, 29 Aug 2002, Kevin Liao wrote:

> So when fsync() returns, it just means:
> 1. The remote server has successfully received the SMBflush request but not
> proceeded it yet.
> or
> 2. The remote server has successfully received and done the SMBflush
> request.

When fsync returns (2) has happened. The server has read and responded to
the SMBflush. But we don't know if it actually wrote anything to disk.

There is no way the smbfs client can know what the other end does. The
protocol "specification" says that it should sync to disk.


More information about the samba-technical mailing list