* When does NFSv3 client uses FILE_SYNC?
@ 2004-11-10 16:05 Oren D
[not found] ` <200411101721.40039.vincent.roqueta@ext.bull.net>
0 siblings, 1 reply; 3+ messages in thread
From: Oren D @ 2004-11-10 16:05 UTC (permalink / raw)
To: nfs
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)
Thanks,
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
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <200411101721.40039.vincent.roqueta@ext.bull.net>]
* Re: When does NFSv3 client uses FILE_SYNC? [not found] ` <200411101721.40039.vincent.roqueta@ext.bull.net> @ 2004-11-10 16:22 ` Vincent Roqueta 2004-11-10 16:34 ` Oren D 1 sibling, 0 replies; 3+ messages in thread From: Vincent Roqueta @ 2004-11-10 16:22 UTC (permalink / raw) To: nfs Le mercredi 10 Novembre 2004 17:21, vous avez =E9crit=A0: Le mercredi 10 Novembre 2004 17:05, Oren D a =E9crit=A0: > 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) 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... ) (I remember some problems with that... ) Vincent ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: When does NFSv3 client uses FILE_SYNC? [not found] ` <200411101721.40039.vincent.roqueta@ext.bull.net> 2004-11-10 16:22 ` Vincent Roqueta @ 2004-11-10 16:34 ` Oren D 1 sibling, 0 replies; 3+ messages in thread From: Oren D @ 2004-11-10 16:34 UTC (permalink / raw) To: Vincent Roqueta; +Cc: nfs > 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-10 16:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.