Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 1998 00:43:13 +0400
From:      Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
To:        freebsd-fs@FreeBSD.ORG
Subject:   VFS_SYNC(MNT_LAZY)
Message-ID:  <199804262043.AAA01087@tejblum.dnttm.rssi.ru>

next in thread | raw e-mail | index | archive | help
This is called every 30 seconds by the syncer daemon for every 
filesystem mounted read-write.

Is there any good reason why every filesystem walk through list of all 
vnodes, lock every vnode, check for waitfor == MNT_LAZY, and in this 
case unlock and skip the vnode? 

I may replace this with goto around this loop, if nobody object.

Then, ffs_sync does not "flush filesystem control information" with 
MNT_LAZY. (That is, it doen't call VOP_FSYNC on the device). Should it 
be same way in other filesystems?

Dima


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804262043.AAA01087>