Date: Fri, 06 Feb 2009 22:32:55 +0100 From: Joe7 <admin@kedvenc.hu> To: freebsd-fs@freebsd.org Subject: Re: nfs delay causing broken files Message-ID: <20090206223255.nx3wziczkwso0w4o@www.site.hu>
next in thread | raw e-mail | index | archive | help
So I tried, wrote a tenliner c script that copies the files ouF =3D open(argv[2], O_WRONLY | O_CREAT | O_DIRECT | O_SYNC) opening the target with that, but tested and the same problem occurs am I missing something obvious? Thanks for all your help, Joe Id=E9zet (Rick Macklem <rmacklem@uoguelph.ca>): > > > On Fri, 6 Feb 2009, Joe7 wrote: > >> Okay, >> >> So although it's likely that kernel hack would do it, >> am I right that a wrapper script with open(...O_DIRECT) would do the job? >> >> Basicly i'm creating an file with imagemagick and wanna place that =20 >> on the nfs server. >> So I assume if I create the file locally and copy over using a =20 >> little script that uses open(.. O_DIRECT), it would just work? >> Application is PHP+imagemagick binary thus pretty high level =20 >> compared to this stuff, but please let me know if you agree! >> > Sounds like it might work. Good luck with it, rick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090206223255.nx3wziczkwso0w4o>