From: Oren D <oren01@gmail.com>
To: Vincent Roqueta <vincent.roqueta@ext.bull.net>
Cc: nfs@lists.sourceforge.net
Subject: Re: When does NFSv3 client uses FILE_SYNC?
Date: Wed, 10 Nov 2004 18:34:37 +0200 [thread overview]
Message-ID: <150dc27e041110083475a838b9@mail.gmail.com> (raw)
In-Reply-To: <200411101721.40039.vincent.roqueta@ext.bull.net>
> Le mercredi 10 Novembre 2004 17:05, Oren D a =E9crit :
>=20
>=20
> > Hi all,
> >
> > Can someone please list for me the conditions under which an NFSv3
> > client would send FILE_SYNC write requests?
> >
> > I have the filesystem exported on the server with the sync option
> > (which is not supposed to prevent the client from writing with
> > UNSTABLE),
> > and mounted from the client with the default mount options.
> >
> > And still i have a user-space application that generates WRITEs with
> > FILE_SYNC!
> >
> > This is what I know that can make the client write using FILE_SYNC:
> > - mount -o sync
> > - open(...,O_SYNC)
>=20
> What kernel is it?
> For a 2.6.x one, if the export's sync option is set all request will be
> synchronised, (even if the file is opened async... )
>=20
> (I remember some problems with that... )
>=20
>=20
> Vincent
>=20
Kernels are 2.4 (RH9) both client and server.
I read that the sync export option does not prevent the client (in NFS
v3) from working async.
And i see it for a fact when using simple dd or cp commands. It's only
that specific application generating FILE_SYNC writes on the same
mounted filesystem. It has to be something controlled by a userspace
application. I checked with the authors of the application, and they
say their not using O_SYNC, that's why i'm looking for other options.
Regards,
Oren.
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
prev parent reply other threads:[~2004-11-10 16:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-10 16:05 When does NFSv3 client uses FILE_SYNC? Oren D
[not found] ` <200411101721.40039.vincent.roqueta@ext.bull.net>
2004-11-10 16:22 ` Vincent Roqueta
2004-11-10 16:34 ` Oren D [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=150dc27e041110083475a838b9@mail.gmail.com \
--to=oren01@gmail.com \
--cc=nfs@lists.sourceforge.net \
--cc=vincent.roqueta@ext.bull.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.