[Samba-Technical] Wrtiing files from one linux to another linux
abartlet at samba.org
Fri Aug 30 01:08:00 GMT 2002
Urban Widmark wrote:
> 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.
Which Samba (as an SMB server) will do, if the 'strict sync' paramater
is set. This is off by defult due to excessive usage by some clients.
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba-technical