Date: Fri, 22 Jul 2011 16:42:54 +0200 From: Polytropon <freebsd@edvax.de> To: Michael Sierchio <kudzu@tenebras.com> Cc: freebsd-questions@freebsd.org Subject: Re: How to sync a file on FreeBSD? [SOLVED] Message-ID: <20110722164254.4d4c1093.freebsd@edvax.de> In-Reply-To: <CAHu1Y736ogt3Z-9v4xqaD4vLT7y1A%2BOsBicsaeb0mdi4M7XhVA@mail.gmail.com> References: <201107221337.15804.pieter@degoeje.nl> <1311340592.24555.YahooMailClassic@web160109.mail.bf1.yahoo.com> <CAHu1Y736ogt3Z-9v4xqaD4vLT7y1A%2BOsBicsaeb0mdi4M7XhVA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Jul 2011 07:37:48 -0700, Michael Sierchio wrote: > This is extremely important, esp. with Softupdates, since fsync() does > not guarantee a flush of all buffers to the medium. But wouldn't sync() (see "man 2 sync") make sure that all buffers, even in regards to soft updates, get immediately flushed / written? > In order to > implement a stable queue, it would be best to use a different > filesystem. What type of filesystem would match those requirements? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110722164254.4d4c1093.freebsd>