To avoid this problem my suggestion is
1. While every write the modified time to be notified to sever by
sending SMBsetattr.
2. While reading client has to get the modified time and copy the
client access time and the recent modified time ( I mean modified time sent
by the server) request the server to set the attributes by sending
SMBsetattr.
Thanks
D.Eshwar,
Member Techinical Staff,
HCL Techonologies Ltd.,
D-12 & 12-B, 3rd South Street,
SIDCO Industrial Estate,
Ambattur,
Chennai - 600 058.
Ph:- 044-6230711/12/13/14 Ext 2624
Disclaimer:
This document is intended for transmission to the named recipient only. If
you are not that person, you should note that legal rights reside in this
document and you are not authorized to access, read, disclose, copy, use or
otherwise deal with it and any such actions are prohibited and may be
unlawful. The views expressed in this document are not necessarily those of
HCL Technologies Ltd. Notice is hereby given that no representation,
contract or other binding obligation shall be created by this e-mail, which
must be interpreted accordingly. Any representations, contractual rights or
obligations shall be separately communicated in writing and signed in the
original by a duly authorized officer of the relevant company.
-----Original Message-----
From: Urban Widmark [mailto:urban@teststation.com]
Sent: Wednesday, December 12, 2001 11:31 PM
To: Eshwar D - CTD, Chennai.
Cc: linux-kernel@vger.kernel.org
Subject: Re: Problem SMBFS
On Tue, 11 Dec 2001, Eshwar D - CTD, Chennai. wrote:
> When i read a file xyz (file is in smbfs mounted directory) from one
> client and i am didn't closed, from second client i written some data
using
> write system call and closed xyz file, i am not see the data from client
> one. Then i closed file in client one and tried to read the data, same
thing
> is continuing. Can any one suggest me is this is the property of smbfs. I
am
> not a member in mailing list please send me u r request to my mail id
Kernel version? This sounds a lot like a problem fixed sometime around
2.2.18 where smbfs didn't consider certain files as changed.
Are both clients smbfs?
/Urban
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/