[PATCH] Add man page for vfs_syncops

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Aug 10 06:38:26 MDT 2013


On Fri, Aug 09, 2013 at 02:12:46AM -0700, Christoph Hellwig wrote:
> On Fri, Aug 09, 2013 at 11:08:03AM +0200, Karolin Seeger wrote:
> > +	Some filesystems (even some journaled filesystems) require that a
> > +	fsync() be performed on many meta data operations to ensure that the
> > +	operation is guaranteed to remain in the filesystem after a power
> > +	failure. This is particularly important for some cluster filesystems
> > +	which are participating in a node failover system with clustered
> > +	Samba. On those filesystems the <command>vfs_syncops</command> VFS module
> > +	provides a way to perform those	operations safely.
> 
> I don't know a single Unix filesystems from the last 40 years where this
> is not true.  Why isn't this the default behaviour in Samba instead of
> having it in a module that very few people are going to use?

Performance. fsync is very expensive in many situations.

Volker

-- 
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