VFS version error

Sharayu Mantri sm25541994 at gmail.com
Mon Mar 2 08:28:27 MST 2015


I call syslog so that i can see the sequence in which my skel_transparent
functions are called. When i checked my syslog , i noticed that even though
client opens only one file or file once, still the open call from
skel_transparent.c is executed more than once. Can u explain me the
behaviour ? and when does this various calls get executed and why this call
are continuously called although client has not triggered any of this
functions.
Thanks.

On Mon, Mar 2, 2015 at 3:04 PM, Volker Lendecke <Volker.Lendecke at sernet.de>
wrote:

> On Mon, Mar 02, 2015 at 02:53:40PM +0000, Sharayu Mantri wrote:
> > This code was provided by sir. Richard Sharpe. I just wanted to know how
> a
> > VFS module is suppose to run . So for just seeing the execution i used
> > vfs_demo . I am not sure how the vfs_demo thread runs. But i think , the
> > one thread is created for each connection that is established. I actually
> > didnt understand the working that is why i am creating my own vfs module
> > using skel_transparent.c  but again the issue comes is, open system call
> is
> > executed many times although a file from shared folder open only once. If
> > you can help me with that.
>
> Can you give a high-level description of the problem that
> you want to solve? We have learned that you overload syslog
> with messages. Why do you call syslog() at all?
>
> With best regards,
>
> Volker Lendecke
>
> --
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: +49-551-370000-0, fax: +49-551-370000-9
> AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
> http://www.sernet.de, mailto:kontakt at sernet.de
>


More information about the samba-technical mailing list